LuaObject.ref constructor

LuaObject.ref(
  1. LuaObject src
)

See toRef. Note that the runtime id will be prefixed with meta information to assist debugging call stacks.

Implementation

LuaObject.ref(LuaObject src) : id = 'ref_${src.id}', super() {
  _value = src;
  _fields = null;
  funcDef = null;
}