[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Can I increment the ref count for a userdata stored in another userdata?
- From: Sam Roberts <sroberts@...>
- Date: Mon, 10 Apr 2006 12:43:42 -0700
I have a userdata, it can have a reference to another userdata inside
it. I don't want the referenced userdata garbage collected until there
isn't a reference to it from C code anymore.
Is luaL_ref() what I want?
Thanks,
Sam