Package org.keplerproject.luajava

Examples of org.keplerproject.luajava.JavaFunction


 
  public TestClass(LuaState L)
  {
    this.Lf = L;
   
    jf = new JavaFunction( L ) {
    public int execute()
    {
      this.L.pushString("Returned String");
      System.out.println("Printing from Java Function");
      return 1;
View Full Code Here


  {
    getLibTable(L);

    L.pushString("example");

    L.pushJavaFunction(new JavaFunction(L) {
      /**
       * Example for loadLib.
       * Prints the time and the first parameter, if any.
       */
      public int execute() throws LuaException
View Full Code Here

TOP

Related Classes of org.keplerproject.luajava.JavaFunction

Copyright © 2018 www.massapicom. 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.