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

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top