Package org.keplerproject.luajava

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



  public static void main(String[] main_args) throws LuaException, ClassNotFoundException
  {
    LuaState L = LuaStateFactory.newLuaState();
    L.openBase();
   
    L.LdoString(str);

    LuaObject func = L.getLuaObject("imprime");
    Object[] teste = func.call(new Object[] { "TESTANDO"}, 2);
View Full Code Here


  }
 
  public static void main(String[] args) throws LuaException
  {
    LuaState L = LuaStateFactory.newLuaState();
    L.openBase();
   
    TestClass test = new TestClass(L);
   
    test.jf.register("javaFuncTest");
   
View Full Code Here

      " end;tb={run=run}";
 
  public static void main(String[] args) throws Exception
  {
    LuaState L = LuaStateFactory.newLuaState();
    L.openBase();
    L.openIo();
    //L.openLibs();
   
    L.LdoString(lua);
   
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.