We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d4a24c + d055b57 commit b021245Copy full SHA for b021245
include/godot_cpp/core/engine_ptrcall.hpp
@@ -77,7 +77,7 @@ R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) {
77
}
78
79
template <typename... Args>
80
-Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, void *instance, const Args &...args) {
+Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) {
81
GodotObject *ret = nullptr;
82
std::array<GDExtensionConstTypePtr, sizeof...(Args)> mb_args = { { (GDExtensionConstTypePtr)args... } };
83
func(&ret, mb_args.data(), mb_args.size());
0 commit comments