root/lualib.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2 ** Standard library header.
   3 ** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
   4 */
   5 
   6 #ifndef _LUALIB_H
   7 #define _LUALIB_H
   8 
   9 #include "lua.h"
  10 
  11 #define LUA_FILEHANDLE  "FILE*"
  12 
  13 #define LUA_COLIBNAME   "coroutine"
  14 #define LUA_MATHLIBNAME "math"
  15 #define LUA_STRLIBNAME  "string"
  16 #define LUA_TABLIBNAME  "table"
  17 #define LUA_IOLIBNAME   "io"
  18 #define LUA_OSLIBNAME   "os"
  19 #define LUA_LOADLIBNAME "package"
  20 #define LUA_DBLIBNAME   "debug"
  21 #define LUA_BITLIBNAME  "bit"
  22 #define LUA_JITLIBNAME  "jit"
  23 #define LUA_FFILIBNAME  "ffi"
  24 
  25 LUALIB_API int luaopen_base(lua_State *L);
  26 LUALIB_API int luaopen_math(lua_State *L);
  27 LUALIB_API int luaopen_string(lua_State *L);
  28 LUALIB_API int luaopen_table(lua_State *L);
  29 LUALIB_API int luaopen_io(lua_State *L);
  30 LUALIB_API int luaopen_os(lua_State *L);
  31 LUALIB_API int luaopen_package(lua_State *L);
  32 LUALIB_API int luaopen_debug(lua_State *L);
  33 LUALIB_API int luaopen_bit(lua_State *L);
  34 LUALIB_API int luaopen_jit(lua_State *L);
  35 LUALIB_API int luaopen_ffi(lua_State *L);
  36 
  37 LUALIB_API void luaL_openlibs(lua_State *L);
  38 
  39 #ifndef lua_assert
  40 #define lua_assert(x)   ((void)0)
  41 #endif
  42 
  43 #endif

/* [<][>][^][v][top][bottom][index][help] */