LuaXML_lib.h 511 B

1234567891011121314151617181920212223242526272829
  1. #ifndef LUAXML_LIB_H
  2. #define LUAXML_LIB_H
  3. #ifndef LUAXML_DEBUG
  4. # define LUAXML_DEBUG 0 /* set to 1 to enable debugging output */
  5. #endif
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. #include <lua.h>
  10. #include <lauxlib.h>
  11. #include <lualib.h>
  12. #if defined __WIN32__ || defined WIN32
  13. # include <windows.h>
  14. # define _EXPORT __declspec(dllexport)
  15. #else
  16. # define _EXPORT
  17. #endif
  18. int _EXPORT luaopen_LuaXML_lib (lua_State* L);
  19. #ifdef __cplusplus
  20. } // extern "C"
  21. #endif
  22. #endif // LUAXML_LIB_H