JSONFile.pkg 635 B

1234567891011121314151617181920212223242526
  1. $#include "JSONFile.h"
  2. enum JSONValueType {};
  3. class JSONFile : Resource
  4. {
  5. JSONFile();
  6. ~JSONFile();
  7. JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT);
  8. JSONValue GetRoot(JSONValueType valueType = JSON_ANY);
  9. };
  10. ${
  11. #define TOLUA_DISABLE_tolua_ResourceLuaAPI_JSONFile_new00
  12. static int tolua_ResourceLuaAPI_JSONFile_new00(lua_State* tolua_S)
  13. {
  14. return ToluaNewObject<JSONFile>(tolua_S);
  15. }
  16. #define TOLUA_DISABLE_tolua_ResourceLuaAPI_JSONFile_new00_local
  17. static int tolua_ResourceLuaAPI_JSONFile_new00_local(lua_State* tolua_S)
  18. {
  19. return ToluaNewObjectGC<JSONFile>(tolua_S);
  20. }
  21. $}