lua-users home
lua-l archive

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

On Sun, 10 Feb 2002 13:43:02 +1100, "David Burgess"
<> wrote:

>1) malloc vs newuserdata

I don't know for sure the answers to most of your questions, but one
point is: If you're encapsulating a C++ object in a user data type,
you need to use the "malloc" method (an operator new, in that case).