aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/editor/godotsharp_builds.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-12-24 03:17:48 +0100
committerIgnacio Etcheverry2017-12-24 04:20:41 +0100
commit0a0a44da8d11303d91c18d015333a3769def2304 (patch)
tree52aa25a7981c58838db4022d5b5a97691c5eb612 /modules/mono/editor/godotsharp_builds.cpp
parent9969c5c6a1cc103fb7b23c279b7fde0d92a5599a (diff)
downloadgodot-0a0a44da8d11303d91c18d015333a3769def2304.tar.gz
godot-0a0a44da8d11303d91c18d015333a3769def2304.tar.zst
godot-0a0a44da8d11303d91c18d015333a3769def2304.zip
Mono: Make the bindings generator output enums
- Switch to PascalCase for constants names
Diffstat (limited to 'modules/mono/editor/godotsharp_builds.cpp')
-rw-r--r--modules/mono/editor/godotsharp_builds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp
index b88d34fc3..3750a2b02 100644
--- a/modules/mono/editor/godotsharp_builds.cpp
+++ b/modules/mono/editor/godotsharp_builds.cpp
@@ -313,7 +313,7 @@ GodotSharpBuilds *GodotSharpBuilds::singleton = NULL;
void GodotSharpBuilds::build_exit_callback(const MonoBuildInfo &p_build_info, int p_exit_code) {
BuildProcess *match = builds.getptr(p_build_info);
- ERR_FAIL_COND(!match);
+ ERR_FAIL_NULL(match);
BuildProcess &bp = *match;
bp.on_exit(p_exit_code);