Data_Wrap_Struct (cKlass, 0, 0, ptr);

A

Ara.T.Howard

is it o.k. for 'free' to be 0? in this case i need to wrap something which
cannot be freed (it is freed elsewhere)??

cheers.

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| A flower falls, even though we love it;
| and a weed grows, even though we do not love it.
| --Dogen
===============================================================================
 
T

Tim Hunter

Ara.T.Howard said:
is it o.k. for 'free' to be 0? in this case i need to wrap something
which cannot be freed (it is freed elsewhere)??
Yes, it's okay for both `mark' and `free' to be NULL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

tk tabbed pane 1
openssl examples and docs 12
latest instiki err 2
stable-snapshot.tgz 1
determining ruby interpreter 4
irb 5
opening a file in ext 11
[ANN] nfsstore-0.4.0 0

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top