diff options
| author | David Snopek <dsnopek@gmail.com> | 2024-06-11 09:38:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 09:38:08 -0500 |
| commit | fe0647202b4644642c5a4bd580bbeaf136254603 (patch) | |
| tree | d0b0708d149641e63156e0f36bcf5b6120dec832 /test/src/example.cpp | |
| parent | 21d526e5e5b1e5d8b6be4db05a704c2c2e7837a9 (diff) | |
| parent | 7f74fe7bb20b1f7201781090857206ce105d17e1 (diff) | |
| download | redot-cpp-fe0647202b4644642c5a4bd580bbeaf136254603.tar.gz | |
Merge pull request #1484 from dsnopek/virtual-node-pointer
Fix undefined symbol error on Linux with virtual methods that take `Node *` arguments
Diffstat (limited to 'test/src/example.cpp')
| -rw-r--r-- | test/src/example.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/example.cpp b/test/src/example.cpp index 78d7062..c445268 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -239,6 +239,7 @@ void Example::_bind_methods() { GDVIRTUAL_BIND(_do_something_virtual, "name", "value"); ClassDB::bind_method(D_METHOD("test_virtual_implemented_in_script"), &Example::test_virtual_implemented_in_script); + GDVIRTUAL_BIND(_do_something_virtual_with_control, "control"); ClassDB::bind_method(D_METHOD("test_use_engine_singleton"), &Example::test_use_engine_singleton); |
