Package org.keplerproject.luajava

Examples of org.keplerproject.luajava.LuaState.call()


   
    L.LcallMeta(-1, "__index");
    System.out.println(L.toString(-1));
    L.pop(1);
    L.LgetMetaField(-1, "__index");
    L.call(0, 1);
    System.out.println(L.toString(-1));
    L.pop(1);
    L.pushString("testTable");
    L.pushValue(-2);
    L.setTable(LuaState.LUA_GLOBALSINDEX.intValue());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.