Examples of LoptString()


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

   
    String testCheckStr = "testCheck";
   
    L.pushString(testCheckStr);
    assertEquals(testCheckStr, L.LcheckString(-1));
    assertEquals(testCheckStr, L.LoptString(-1, "test"));
   
    L.pushNumber(1.0);
    L.LcheckNumber(-1);
   
    assertTrue(L.LoptNumber(2, 2.0) == 1.0);
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.