-2008-10-09 Andreas Rottmann <a.rottmann@gmx.at>
+2008-10-11 Lucas Rocha <lucasr@gnome.org>
+
+ Bug 552370: add one more test for unsigned as a type, not as
+ a type qualifier.
+
+ * giscanner/ast.py: add 'uint' type name for 'unsigned'.
+ * test/scanner/foo.h: add function which uses unsigned as a type.
+ * test/scanner/foo-expected.gir: test that.
+
+2008-10-11 Andreas Rottmann <a.rottmann@gmx.at>
Bug 555712: Struct and union issues
type_names['unsigned short'] = TYPE_UINT16
type_names['int'] = TYPE_INT
type_names['unsigned int'] = TYPE_UINT
+type_names['unsigned'] = TYPE_UINT
type_names['long'] = TYPE_LONG
type_names['unsigned long'] = TYPE_ULONG
type_names['float'] = TYPE_FLOAT
</return-value>
</method>
</union>
- <function name="test_unsigned" c:identifier="foo_test_unsigned">
+ <function name="test_unsigned_qualifier"
+ c:identifier="foo_test_unsigned_qualifier">
<return-value>
<type name="none" c:type="void"/>
</return-value>
</parameter>
</parameters>
</function>
+ <function name="test_unsigned_type" c:identifier="foo_test_unsigned_type">
+ <return-value>
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="unsigned_param">
+ <type name="uint" c:type="unsigned"/>
+ </parameter>
+ </parameters>
+ </function>
</namespace>
</repository>
int foo_bunion_get_contained_type (FooBUnion *bunion);
-void foo_test_unsigned (unsigned int unsigned_param);
+void foo_test_unsigned_qualifier (unsigned int unsigned_param);
+void foo_test_unsigned_type (unsigned unsigned_param);
#endif /* __FOO_OBJECT_H__ */