diff --git a/ChangeLog b/ChangeLog index 97e698f2d..6ecb42f6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-11 Alp Toker + + * generator/Parameters.cs: Handle string length parameters specified + not just as int but also signed/unsigned int, long or short + 2003-09-07 Alp Toker * makefile.win32: New clean and release targets, and don't bother diff --git a/generator/Parameters.cs b/generator/Parameters.cs index a4df826eb..2d277b322 100644 --- a/generator/Parameters.cs +++ b/generator/Parameters.cs @@ -49,7 +49,7 @@ namespace GtkSharp.Generation { public bool IsLength { get { - return (CSType == "int" && + return ((CSType == "int" || CSType == "uint" || CSType == "long" || CSType == "ulong" || CSType == "short" || CSType == "ushort") && (Name.EndsWith("len") || Name.EndsWith("length"))); } }