lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi Dirk,

Am 2014-07-10 11:45, schrieb Dirk Laurie:
Any program that relies on __gc for its logical correctness
is a jar of nitroglycerine just waiting to be dropped to the floor.

__gc can be very useful in the C API for managing the lifetime of objects that are accessible and used both in C and Lua code.

Best regards,

Cafu - the open-source game and graphics engine for multiplayer 3D action