File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,11 @@ mono_class_is_blittable(MonoClass *klass)
354
354
return klass -> blittable ;
355
355
}
356
356
357
+ gboolean mono_unity_class_has_cctor (MonoClass * klass )
358
+ {
359
+ return klass -> has_cctor ? TRUE : FALSE;
360
+ }
361
+
357
362
//method
358
363
359
364
MonoMethod * mono_unity_method_get_generic_definition (MonoMethod * method )
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ MonoBoolean mono_unity_class_is_class_type(MonoClass* klass);
74
74
MONO_API gboolean mono_class_is_generic (MonoClass * klass );
75
75
MONO_API gboolean mono_class_is_blittable (MonoClass * klass );
76
76
MONO_API gboolean mono_class_is_inflated (MonoClass * klass );
77
+ gboolean mono_unity_class_has_cctor (MonoClass * klass );
77
78
78
79
//method
79
80
MonoMethod * mono_unity_method_get_generic_definition (MonoMethod * method );
You can’t perform that action at this time.
0 commit comments