Handle 'any'. Add test for void *.

2008-08-12  Colin Walters  <walters@verbum.org>

	* girepository/girparser.c: Handle 'any'.
	* tests/scanner/Foo-expected.gir, tests/scanner/foo-object.h:
	Add test for void *.


svn path=/trunk/; revision=351
This commit is contained in:
Colin Walters 2008-08-12 18:49:16 +00:00 committed by Colin Walters
parent 0ed07b5934
commit 8c6c262f22

View File

@ -135,6 +135,7 @@ parse_type_internal (gchar *str, gchar **rest)
} basic[] = {
{ "void", GI_TYPE_TAG_VOID, 0 },
{ "none", GI_TYPE_TAG_VOID, 0 },
{ "any", GI_TYPE_TAG_VOID, 1 },
{ "gpointer", GI_TYPE_TAG_VOID, 1 },
{ "bool", GI_TYPE_TAG_BOOLEAN, 0 },
{ "gboolean", GI_TYPE_TAG_BOOLEAN, 0 },