summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_class.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-03-05 21:39:50 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-04-06 12:14:43 +0200
commit480d4c6fbabc65a0822cd3954e488bf64d04b45c (patch)
treeb40baf5d0adc24245d0670239a162f9da0988ba2 /modules/mono/mono_gd/gd_mono_class.cpp
parent187e6ae26d88ab0975de6011d00e41a846bcb6fa (diff)
downloadredot-engine-480d4c6fbabc65a0822cd3954e488bf64d04b45c.tar.gz
C#: Support type hints for exported Arrays
Added the code for Dictionary as well, but it's not yet supported by the Godot inspector.
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_class.cpp')
-rw-r--r--modules/mono/mono_gd/gd_mono_class.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_class.cpp b/modules/mono/mono_gd/gd_mono_class.cpp
index d58f675d19..4342f46109 100644
--- a/modules/mono/mono_gd/gd_mono_class.cpp
+++ b/modules/mono/mono_gd/gd_mono_class.cpp
@@ -55,7 +55,8 @@ String GDMonoClass::get_full_name() const {
}
MonoType *GDMonoClass::get_mono_type() {
- // Care, you cannot compare MonoType pointers
+ // Careful, you cannot compare two MonoType*.
+ // There is mono_metadata_type_equal, how is this different from comparing two MonoClass*?
return get_mono_type(mono_class);
}