Examples of LoptNumber()


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

    assertEquals(testCheckStr, L.LoptString(-1, "test"));
   
    L.pushNumber(1.0);
    L.LcheckNumber(-1);
   
    assertTrue(L.LoptNumber(2, 2.0) == 1.0);
    assertTrue(L.LcheckNumber(2) == 1.0);
   
    L.LcheckAny(2);
   
    L.LcheckType(1, LuaState.LUA_TSTRING.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.