[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How do I manipulate C++ vectors of C structs in Lua?
- From: Nolan Check <nolancheck@...>
- Date: Tue, 12 Sep 2006 06:44:41 +0000 (UTC)
Thanks! The fact is, I've never worked with Lua metatables before. I'm glad it
turned out to be as simple as it is.
I am currently storing pointers to Lua userdata in g_SpriteVector. Do I have to
watch out for the Lua garbage collector? Could it free the memory of a sprite
structure while I still have a pointer to it?
- Checkmate