diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-30 20:43:06 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-30 20:43:06 +0100 |
commit | b9b7dcdf001e1705ec45deab56d31eb74dcaaa4d (patch) | |
tree | 9b65f61b02b24cd162de3c3c23a7f0ab042e0472 /modules/mono/mono_gd/gd_mono_utils.cpp | |
parent | bf94eed60c010f54299b6241a47c639c010a3985 (diff) |
C#: Improve tool script support and fix reloading issues
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_utils.cpp')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_utils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.cpp b/modules/mono/mono_gd/gd_mono_utils.cpp index fe2c09799c..211987d242 100644 --- a/modules/mono/mono_gd/gd_mono_utils.cpp +++ b/modules/mono/mono_gd/gd_mono_utils.cpp @@ -694,4 +694,8 @@ uint64_t unbox_enum_value(MonoObject *p_boxed, MonoType *p_enum_basetype, bool & } } +void dispose(MonoObject *p_mono_object, MonoException **r_exc) { + invoke_method_thunk(CACHED_METHOD_THUNK(GodotObject, Dispose), p_mono_object, (MonoObject **)r_exc); +} + } // namespace GDMonoUtils |