Class BaseLib

java.lang.Object
se.krka.kahlua.stdlib.BaseLib
All Implemented Interfaces:
JavaFunction

public final class BaseLib
extends java.lang.Object
implements JavaFunction
  • Constructor Summary

    Constructors
    Constructor Description
    BaseLib​(int int1)  
  • Method Summary

    Modifier and Type Method Description
    int call​(LuaCallFrame luaCallFrame, int int1)  
    static int collectgarbage​(LuaCallFrame luaCallFrame, int int1)  
    static boolean luaEquals​(java.lang.Object object, java.lang.Object object2)  
    static int pcall​(LuaCallFrame luaCallFrame, int int1)  
    static void register​(KahluaTable kahluaTable)  
    static void setmetatable​(KahluaThread kahluaThread, java.lang.Object object, KahluaTable kahluaTable, boolean boolean1)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BaseLib

      public BaseLib​(int int1)
  • Method Details

    • register

      public static void register​(KahluaTable kahluaTable)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • call

      public int call​(LuaCallFrame luaCallFrame, int int1)
      Specified by:
      call in interface JavaFunction
    • pcall

      public static int pcall​(LuaCallFrame luaCallFrame, int int1)
    • setmetatable

      public static void setmetatable​(KahluaThread kahluaThread, java.lang.Object object, KahluaTable kahluaTable, boolean boolean1)
    • collectgarbage

      public static int collectgarbage​(LuaCallFrame luaCallFrame, int int1)
    • luaEquals

      public static boolean luaEquals​(java.lang.Object object, java.lang.Object object2)