Class BaseLib

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

public final class BaseLib extends Object implements JavaFunction
  • Constructor Details

    • BaseLib

      public BaseLib(int int0)
  • Method Details

    • register

      public static void register(KahluaTable table)
    • toString

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

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

      public static int pcall(LuaCallFrame luaCallFrame, int int0)
    • setPrintCallback

      public static void setPrintCallback(Consumer<String> consumer)
    • setmetatable

      public static void setmetatable(KahluaThread kahluaThread, Object object0, KahluaTable table, boolean boolean0)
    • collectgarbage

      public static int collectgarbage(LuaCallFrame luaCallFrame, int int0)
    • luaEquals

      public static boolean luaEquals(Object object1, Object object0)