Wrap a D value in a Lua reference.
Note that using this method is only necessary in certain situations, such as when you want to act on the reference before fully exposing it to Lua.
type of reference. Must be LuaObject, LuaTable, LuaFunction or LuaDynamic. Defaults to LuaObject.
D value to wrap
A Lua reference to value
See Implementation
Wrap a D value in a Lua reference.
Note that using this method is only necessary in certain situations, such as when you want to act on the reference before fully exposing it to Lua.