Style: Remove redundant DEBUG_METHODS_ENABLED

• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
This commit is contained in:
Thaddeus Crews
2025-05-15 13:09:41 -05:00
parent 5e27318b6c
commit d237e31a89
25 changed files with 328 additions and 337 deletions

View File

@@ -585,7 +585,7 @@ static bool _on_core_api_assembly_loaded() {
debug = true;
#else
debug = false;
#endif
#endif // DEBUG_ENABLED
GDMonoCache::managed_callbacks.GD_OnCoreApiAssemblyLoaded(debug);
@@ -690,13 +690,13 @@ void GDMono::_try_load_project_assembly() {
#endif
void GDMono::_init_godot_api_hashes() {
#ifdef DEBUG_METHODS_ENABLED
#ifdef DEBUG_ENABLED
get_api_core_hash();
#ifdef TOOLS_ENABLED
get_api_editor_hash();
#endif // TOOLS_ENABLED
#endif // DEBUG_METHODS_ENABLED
#endif // DEBUG_ENABLED
}
#ifdef TOOLS_ENABLED