generator: fixed string array return type for virtual_methods

This commit is contained in:
Stephan Sundermann 2013-06-11 09:42:58 +02:00 committed by Andrés G. Aragoneses
parent f6219b97e0
commit c5909d32fb

View File

@ -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;
}
}