diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-05-24 00:40:16 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-05-24 00:40:20 +0200 |
| commit | 04ebf294f36eeae859b33299f29ca4dd7c0cf7c1 (patch) | |
| tree | 365a58a6b9f4bccb4f4e6329d913819d4440e11a /modules/mono/editor/bindings_generator.h | |
| parent | 9738ed567cb9b75e11af3d7c361a2d77e60a5753 (diff) | |
| download | redot-engine-04ebf294f36eeae859b33299f29ca4dd7c0cf7c1.tar.gz | |
C#: Implement ScriptInstance::to_string
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
Diffstat (limited to 'modules/mono/editor/bindings_generator.h')
| -rw-r--r-- | modules/mono/editor/bindings_generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/editor/bindings_generator.h b/modules/mono/editor/bindings_generator.h index bdba28c267..ffc73a7e3e 100644 --- a/modules/mono/editor/bindings_generator.h +++ b/modules/mono/editor/bindings_generator.h @@ -491,6 +491,10 @@ class BindingsGenerator { List<InternalCall> core_custom_icalls; List<InternalCall> editor_custom_icalls; + Map<StringName, List<StringName> > blacklisted_methods; + + void _initialize_blacklisted_methods(); + struct NameCache { StringName type_void; StringName type_Array; |
