diff options
author | Thomas Herzog <karroffel@users.noreply.github.com> | 2017-04-19 16:38:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-19 16:38:33 +0200 |
commit | d74c2bbec9fe2d46d8e92079bb704c87c1d470ef (patch) | |
tree | af9e575a7ada253502ee8df36df436975c782a74 /modules/gdnative/gdnative.cpp | |
parent | 8ee991a2a7e9bbcf3c9d1da24cb1ae8754cf4e8f (diff) | |
parent | d4f4f14c68d6fea3fc582858ec82af2f8ae36870 (diff) | |
download | redot-engine-d74c2bbec9fe2d46d8e92079bb704c87c1d470ef.tar.gz |
Merge pull request #8455 from karroffel/gdnative-calling-conv
[GDNative] explicit calling convention
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r-- | modules/gdnative/gdnative.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index a4c9085f45..09859d95bd 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -424,7 +424,6 @@ Variant GDNativeScript::_new(const Variant **p_args, int p_argcount, Variant::Ca // @Todo support varargs for constructors. GDNativeInstance *instance = (GDNativeInstance *)instance_create(owner); - owner->set_script(Ref<GDNativeScript>(this).get_ref_ptr()); owner->set_script_instance(instance); if (!instance) { if (ref.is_null()) { |