Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1022 B

  1. /*
  2. ** $Id: lualib.h,v 1.36 2005/12/27 17:12:00 roberto Exp $
  3. ** Lua standard libraries
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lualib_h
  7. #define lualib_h
  8. #include "lua.h"
  9. /* Key to file-handle type */
  10. #define LUA_FILEHANDLE "FILE*"
  11. #define LUA_COLIBNAME "coroutine"
  12. LUALIB_API int (luaopen_base) (lua_State *L);
  13. #define LUA_TABLIBNAME "table"
  14. LUALIB_API int (luaopen_table) (lua_State *L);
  15. #define LUA_IOLIBNAME "io"
  16. LUALIB_API int (luaopen_io) (lua_State *L);
  17. #define LUA_OSLIBNAME "os"
  18. LUALIB_API int (luaopen_os) (lua_State *L);
  19. #define LUA_STRLIBNAME "string"
  20. LUALIB_API int (luaopen_string) (lua_State *L);
  21. #define LUA_MATHLIBNAME "math"
  22. LUALIB_API int (luaopen_math) (lua_State *L);
  23. #define LUA_DBLIBNAME "debug"
  24. LUALIB_API int (luaopen_debug) (lua_State *L);
  25. #define LUA_LOADLIBNAME "package"
  26. LUALIB_API int (luaopen_package) (lua_State *L);
  27. /* open all previous libraries */
  28. LUALIB_API void (luaL_openlibs) (lua_State *L);
  29. #ifndef lua_assert
  30. #define lua_assert(x) ((void)0)
  31. #endif
  32. #endif