diff options
| author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-03-27 13:19:54 +0100 |
|---|---|---|
| committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-04-02 21:44:40 +0200 |
| commit | d055b575fb325b8ce72345dc924a52b22d9e2255 (patch) | |
| tree | 4d0ac3ec1bb720e4ce34a37d64df92c75d2a80ec /include | |
| parent | 7d4a24caab340a99a77a7a5da4d5dc96830b72f4 (diff) | |
| download | redot-cpp-d055b575fb325b8ce72345dc924a52b22d9e2255.tar.gz | |
Fix incorrect utility call signature
Diffstat (limited to 'include')
| -rw-r--r-- | include/godot_cpp/core/engine_ptrcall.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/core/engine_ptrcall.hpp b/include/godot_cpp/core/engine_ptrcall.hpp index 482dfab..555806b 100644 --- a/include/godot_cpp/core/engine_ptrcall.hpp +++ b/include/godot_cpp/core/engine_ptrcall.hpp @@ -77,7 +77,7 @@ R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) { } template <typename... Args> -Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, void *instance, const Args &...args) { +Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) { GodotObject *ret = nullptr; std::array<GDExtensionConstTypePtr, sizeof...(Args)> mb_args = { { (GDExtensionConstTypePtr)args... } }; func(&ret, mb_args.data(), mb_args.size()); |
