Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2120

Re: Method Call from inside a file.

From Tridib Bandopadhyay <tridib04@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Method Call from inside a file.
Date 2011-04-01 13:33 -0500
Organization Service de news de lacave.net
Message-ID <dfe49bf2701da93ea247d28df645138a@ruby-forum.com> (permalink)
References <e4db35ea8bb31ebf053db829562ecabf@ruby-forum.com> <e0c5b4412cfe9be1068f352d3ba3824f@ruby-forum.com> <7823646f2514b0f079496a3719a70f72@ruby-forum.com>

Show all headers | View raw


Brian Candler wrote in post #990438:

>
Your code will be either compiled into a shared library (.so or .dll),


Yes its getting compiled in *.so file.

> I don't know what you mean by "acting like a library function".

I mean to say that I am trying to write a function which will allow the 
users to free the allocated memory by themselves rather than doing it by 
Garbage Collection. So I need a syntax like that of C

free(variable);

So, to achieve it do I need to this above detailed thing or I have to do 
any other stuffs.

Regards

Tridib

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Method Call from inside a file. Tridib Bandopadhyay <tridib04@gmail.com> - 2011-04-01 10:44 -0500
  Re: Method Call from inside a file. Brian Candler <b.candler@pobox.com> - 2011-04-01 13:23 -0500
    Re: Method Call from inside a file. Tridib Bandopadhyay <tridib04@gmail.com> - 2011-04-01 13:33 -0500
      Re: Method Call from inside a file. Brian Candler <b.candler@pobox.com> - 2011-04-01 17:00 -0500

csiph-web