Examples of LcallMeta()


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

        "return 'foo' " +
        "end");
    L.setTable(-3);
    L.setMetaTable(-2);
   
    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));
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.