mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 05:25:35 +00:00
generator: fixed string array return type for virtual_methods
This commit is contained in:
parent
f6219b97e0
commit
c5909d32fb
|
@ -133,7 +133,9 @@ namespace GtkSharp.Generation {
|
|||
get {
|
||||
if (IGen == null)
|
||||
return String.Empty;
|
||||
return IGen.MarshalType + (is_array || is_null_term ? "[]" : String.Empty);
|
||||
if (is_array || is_null_term)
|
||||
return "IntPtr";
|
||||
return IGen.MarshalType;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue