My Project
|
this is for luabinding a pointer object on lua stack, instead of invoking new operator each time an object is created. More...
#include <ParaScriptingGlobal.h>
Public Member Functions | |
StackObjectPtr (_Ty *obj) | |
StackObjectPtr (_Ty const &obj) | |
operator bool () const | |
bool | operator! () const |
_Ty & | operator* () const |
_Ty * | operator-> () const |
_Ty * | get () const |
this is for luabinding a pointer object on lua stack, instead of invoking new operator each time an object is created.
Note: this class is not used, since we now uses a more universal template which treats all objects in ParaScripting namespace as stack object.