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/.