mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:55:27 +00:00
2003-09-11 Alp Toker <alp@atoker.com>
* generator/Parameters.cs: Handle string length parameters specified not just as int but also signed/unsigned int, long or short svn path=/trunk/gtk-sharp/; revision=18027
This commit is contained in:
parent
5e8e9a1c07
commit
9749217abf
|
@ -1,3 +1,8 @@
|
|||
2003-09-11 Alp Toker <alp@atoker.com>
|
||||
|
||||
* 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 <alp@atoker.com>
|
||||
|
||||
* makefile.win32: New clean and release targets, and don't bother
|
||||
|
|
|
@ -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")));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue