lualib.h 684 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. ** $Id: lualib.h,v 1.13 2000/10/20 16:39:03 roberto Exp roberto $
  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. #ifndef LUALIB_API
  10. #define LUALIB_API extern
  11. #endif
  12. #define LUA_ALERT "_ALERT"
  13. LUALIB_API void lua_baselibopen (lua_State *L);
  14. LUALIB_API void lua_iolibopen (lua_State *L);
  15. LUALIB_API void lua_strlibopen (lua_State *L);
  16. LUALIB_API void lua_mathlibopen (lua_State *L);
  17. LUALIB_API void lua_dblibopen (lua_State *L);
  18. /* Auxiliary functions (private) */
  19. const char *luaI_classend (lua_State *L, const char *p);
  20. int luaI_singlematch (int c, const char *p, const char *ep);
  21. #endif