[gobject-introspection] [scanner] Support unsigned long/short int



commit 786da5cdd2dfc775c08d127c5e855eb091d24974
Author: Alan Knowles <alan akbkhome com>
Date:   Sat Apr 3 18:09:31 2010 +0800

    [scanner] Support unsigned long/short int

 giscanner/ast.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 042f7b1..bd16251 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -103,12 +103,14 @@ type_names['signed short'] = TYPE_SHORT
 type_names['unsigned short'] = TYPE_USHORT
 type_names['int'] = TYPE_INT
 type_names['signed int'] = TYPE_INT
+type_names['unsigned short int'] = TYPE_USHORT
 type_names['signed'] = TYPE_INT
 type_names['unsigned int'] = TYPE_UINT
 type_names['unsigned'] = TYPE_UINT
 type_names['long'] = TYPE_LONG
 type_names['signed long'] = TYPE_LONG
 type_names['unsigned long'] = TYPE_ULONG
+type_names['unsigned long int'] = TYPE_ULONG
 type_names['float'] = TYPE_FLOAT
 type_names['double'] = TYPE_DOUBLE
 type_names['char*'] = TYPE_STRING



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]