diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-10-28 19:20:56 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-10-28 19:44:20 +1100 |
commit | ef528d3a8624918eb98e02604bbbdb3e47e555e9 (patch) | |
tree | d37f69240a8cb26e07f74e4b803605174e15457b /src/core/method_bind.cpp | |
parent | 5148aad3d4faf303a32cec4816bbd33cc6feabef (diff) | |
download | redot-cpp-ef528d3a8624918eb98e02604bbbdb3e47e555e9.tar.gz |
Rename interface to gdn_interface because it's a defined keyword under windows
Diffstat (limited to 'src/core/method_bind.cpp')
-rw-r--r-- | src/core/method_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/method_bind.cpp b/src/core/method_bind.cpp index 4d5f356..4f746a1 100644 --- a/src/core/method_bind.cpp +++ b/src/core/method_bind.cpp @@ -103,7 +103,7 @@ void MethodBind::bind_call(void *p_method_userdata, GDExtensionClassInstancePtr Variant ret = bind->call(p_instance, p_args, p_argument_count, *r_error); // This assumes the return value is an empty Variant, so it doesn't need to call the destructor first. // Since only NativeExtensionMethodBind calls this from the Godot side, it should always be the case. - internal::interface->variant_new_copy(r_return, ret.ptr()); + internal::gdn_interface->variant_new_copy(r_return, ret.ptr()); } void MethodBind::bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr r_return) { |