diff options
| author | Ignacio Etcheverry | 2017-10-16 03:54:23 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-10-16 03:54:23 +0200 |
| commit | 63369ec3066195a7d282d2345beecb50bfd7de3d (patch) | |
| tree | 9f63b9364669e28a434bef24603449283e2153a2 /modules/mono/editor/bindings_generator.cpp | |
| parent | dda64a3de6f57ff750370e1818f057149686c8fa (diff) | |
| download | godot-63369ec3066195a7d282d2345beecb50bfd7de3d.tar.gz godot-63369ec3066195a7d282d2345beecb50bfd7de3d.tar.zst godot-63369ec3066195a7d282d2345beecb50bfd7de3d.zip | |
Re-write SignalAwaiter implementation
Old implementation had issues where you could only await on the same signal of the same source once.
Diffstat (limited to 'modules/mono/editor/bindings_generator.cpp')
| -rw-r--r-- | modules/mono/editor/bindings_generator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index 123f00ea1..5cb38c330 100644 --- a/modules/mono/editor/bindings_generator.cpp +++ b/modules/mono/editor/bindings_generator.cpp @@ -916,10 +916,6 @@ Error BindingsGenerator::_generate_cs_type(const TypeInterface &itype, const Str return ERR_BUG; } - cs_file.push_back(MEMBER_BEGIN "private void _AwaitedSignalCallback("); - cs_file.push_back(array_itype->get().cs_type); - cs_file.push_back(" args, SignalAwaiter awaiter)\n" OPEN_BLOCK_L2 "awaiter.SignalCallback(args);\n" CLOSE_BLOCK_L2); - Map<String, TypeInterface>::Element *object_itype = obj_types.find("Object"); if (!object_itype) { |
