/*
   Module luajit provides bindings for the LuaJIT C
   library (2.1.1744318430)
*/
#module_parameters(STATIC := true);

#if STATIC {
   #if OS == {
      case .WINDOWS;
         luajit_5_1 :: #library,no_dll,link_always "win/luajit-5.1";
      case .MACOS;
         luajit_5_1 :: #library,no_dll,link_always "mac/luajit-5.1";
      case .LINUX;
         luajit_5_1 :: #library,no_dll,link_always "linux/luajit-5.1";
   }
}
else {
   #if OS == {
      case .WINDOWS;
         luajit_5_1 :: #library "win/luajit-5.1";
      case .MACOS;
         luajit_5_1 :: #library "mac/luajit-5.1";
      case .LINUX;
         luajit_5_1 :: #library "linux/luajit-5.1";
   }
}

#load "luajit.jai";

#scope_module;

ptrdiff_t :: s64;
