ClanSoft logo
ClanSoft logo

    CL_LuaReference::CL_LuaReference

Syntax

CL_LuaReference(
        const CL_LuaObject& obj,
        int lock=0);

Parameters

lock-to lock or not to lock, that is the question

Description

Create a reference to the given Lua object

An optinal parameter specifies if the reference is not to be garbage collected by Lua. The default, #lock=0@, means the reference becomes invalid if Lua collects the referenced object.


Back to index



This page was built using the Perceps documentation system.