1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

C#: Marshalling support for IEnumerable<> and IDictionary<,>

Also fixed the hint string of exported members.
This commit is contained in:
Ignacio Etcheverry
2019-05-18 04:14:21 +02:00
parent 7112a45d99
commit 5a4bf4f369
13 changed files with 591 additions and 192 deletions

View File

@@ -74,6 +74,10 @@ void GDMonoMethod::_update_signature(MonoMethodSignature *p_method_sig) {
method_info = MethodInfo();
}
GDMonoClass *GDMonoMethod::get_enclosing_class() const {
return GDMono::get_singleton()->get_class(mono_method_get_class(mono_method));
}
bool GDMonoMethod::is_static() {
return mono_method_get_flags(mono_method, NULL) & MONO_METHOD_ATTR_STATIC;
}