示例#1
0
 public LuaFunction(Lua_State st, Lua_Delegate del) : base(st, Lua_Type.Function, null)
 {
     CSNative = del;
 }
示例#2
0
 public LuaValue(Lua_State st, Lua_Type type, object value)
 {
     State = st;
     Type  = type;
     Value = value;
 }
示例#3
0
        public LuaFunction(Lua_State st, string source) : base(st, Lua_Type.Function, null)
        {
            Parser parse = new Parser(source);

            Body = parse.Parse();
        }
示例#4
0
 public Interpreter()
 {
     State = new Lua_State(this);
 }