1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix mono module build errors for release templates

This commit is contained in:
Ignacio Etcheverry
2019-07-20 14:26:46 +02:00
parent 7f3490c5e1
commit ec679dfffa
3 changed files with 16 additions and 2 deletions

View File

@@ -31,9 +31,16 @@
#ifndef CLASS_DB_API_JSON_H
#define CLASS_DB_API_JSON_H
// 'core/method_bind.h' defines DEBUG_METHODS_ENABLED, but it looks like we
// cannot include it here. That's why we include it through 'core/class_db.h'.
#include "core/class_db.h"
#ifdef DEBUG_METHODS_ENABLED
#include "core/ustring.h"
void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api);
#endif // DEBUG_METHODS_ENABLED
#endif // CLASS_DB_API_JSON_H