diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2018-03-25 19:36:34 -0400 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-07-24 09:51:03 +0200 |
commit | a22e746bc3478bcba8540fbf30de58ebf975b132 (patch) | |
tree | dc7f8223597b1d05c62beb521643061b2f780d75 /modules/gdnative | |
parent | 4b277c2c20438c5aada0d45f1e4228b15249faee (diff) |
Removed unnecessary assignments
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/nativescript/api_generator.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdnative/nativescript/api_generator.cpp b/modules/gdnative/nativescript/api_generator.cpp index 4012e821bb..70ca8d68b8 100644 --- a/modules/gdnative/nativescript/api_generator.cpp +++ b/modules/gdnative/nativescript/api_generator.cpp @@ -110,7 +110,6 @@ struct ClassAPI { bool is_singleton; bool is_instanciable; // @Unclear - bool is_creatable; bool is_reference; List<MethodAPI> methods; @@ -385,7 +384,6 @@ static List<String> generate_c_api_json(const List<ClassAPI> &p_api) { source.push_back(String("\t\t\"instanciable\": ") + (api.is_instanciable ? "true" : "false") + ",\n"); source.push_back(String("\t\t\"is_reference\": ") + (api.is_reference ? "true" : "false") + ",\n"); // @Unclear - // source.push_back(String("\t\t\"createable\": ") + (api.is_creatable ? "true" : "false") + ",\n"); source.push_back("\t\t\"constants\": {\n"); for (List<ConstantAPI>::Element *e = api.constants.front(); e; e = e->next()) { |