NULL -> nullptr

This commit is contained in:
Nickolai Korshunov
2018-02-23 16:08:36 +03:00
parent 3f8456135f
commit f1c35f24f6
7 changed files with 43 additions and 43 deletions

View File

@@ -334,8 +334,8 @@ def generate_class_implementation(icalls, used_classes, c):
source.append("\t___singleton_init();")
source.append("\tstatic godot_method_bind *mb = NULL;")
source.append("\tif (mb == NULL) {")
source.append("\tstatic godot_method_bind *mb = nullptr;")
source.append("\tif (mb == nullptr) {")
source.append("\t\tmb = godot::api->godot_method_bind_get_method(\"" + c["name"] +"\", \"" + method["name"] + "\");")
source.append("\t}")