defLocal method

LuaObject defLocal(
  1. LuaObject value
)
inherited

Defines a local variable in the current scope with lua object value.

Implementation

LuaObject defLocal(LuaObject value) {
  return scope.defVar(value.id, value);
}