![]() | |
![]() | ![]() |
CL_LuaReference::refSyntaxvoid ref( const CL_LuaObject& obj, int lock=0); DescriptionReplace the reference This method allows the user to replace the referenced object; it is useful when the object is created with the default constructor. _Note_: if there is already a reference to a non-'nil' object, this reference, if not used by other LuaReference objets, should be eliminated (using the 'unref' method) before calling this method. |