[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Questions on userdata
- From: Francis Irving <francis.irving@<a href="/cgi-bin/echo.cgi?creaturelabs.com">...</a>>
- Date: Mon, 11 Feb 2002 11:22:28 +0000
On Sun, 10 Feb 2002 13:43:02 +1100, "David Burgess"
>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).