Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Colin Walters 52d2251c82 Bug 555960 - Nested structs and unions (generation portion)
Patch from Andreas Rottmann <a.rottmann@gmx.at>.

	* tests/scanner/utility.h (UtilityTaggedValue): Make the union
	member anonymous.
	(UtilityByte): New union typedef with an unnamed struct in it.

	* giscanner/transformer.py (Transformer._create_struct): Create
	unnamed structs for symbols with a None ident.
	(Transformer._create_union): Likewise.

	* giscanner/girwriter.py (GIRWriter._write_record): Allow name
	being None.
	(GIRWriter._write_union): Likewise.

	* girepository/girparser.c (start_struct): Allow a NULL name for
	non-toplevel structs.
	(start_union): Likewise.

	* tests/scanner/utility.h (UtilityTaggedValue): New struct
	typedef, which has a nested union member.
	* tests/scanner/utility-expected.gir: Adapted.

	* giscanner/transformer.py (Transformer._create_member): Create
	struct/union members if appropriate.
	(Transformer._create_struct, Transformer._create_union): Allow for
	structs/unions without a C type.

	* giscanner/glibtransformer.py (GLibTransformer._resolve_field):
	We don't need to resolve non-typef'd
	(GLibTransformer._resolve_field): Add cases for non-typedef'd
	struct/union "fields".

	* giscanner/girwriter.py (GIRWriter._write_record): Allow for
	records without a C type.
	(GIRWriter._write_field): structs and unions may appear in places
	where fields do.

svn path=/trunk/; revision=1082
2009-02-04 00:48:24 +00:00
gdump.c add FT_Int32 add XftFont Report errors when an invalid type is encountered 2009-01-16 00:42:22 +00:00
gfield.c Fix memory leak; unref type info we created, not field info 2008-12-01 17:05:37 +00:00
ginfo.c handle the special case for GObject, whose glib:get-type is listed as 2009-02-02 20:41:30 +00:00
ginfo.h Bug 561137 - support multiple repositories 2008-11-25 21:48:34 +00:00
ginvoke.c Bug 567087 - generic marshaller 2009-01-12 21:31:43 +00:00
girepository.c Bug 567813 – Everything should be versioned 2009-01-15 22:31:07 +00:00
girepository.h Bug 567087 - generic marshaller 2009-01-12 21:31:43 +00:00
girffi.c girepository/girffi.c: Fix "Unexpected time for time_t" message. 2008-11-13 21:38:42 +00:00
girffi.h Split g_ir_ffi_get_ffi_type() out from ginvoke.c 2008-11-11 00:04:45 +00:00
girmodule.c Bug 556489 – callback annotations 2009-01-03 13:44:42 +00:00
girmodule.h Keep aliases and disguised_structures local to each module (#560419) 2008-11-12 17:17:01 +00:00
girnode.c Bug 556489 – callback annotations 2009-01-03 13:44:42 +00:00
girnode.h Bug 556489 – callback annotations 2009-01-03 13:44:42 +00:00
giroffsets.c Bug 569408, Bug 568680 - Scanner misses fields (at least in GObject.Object) 2009-02-02 16:31:06 +00:00
girparser.c Bug 555960 - Nested structs and unions (generation portion) 2009-02-04 00:48:24 +00:00
girparser.h Add a GirParser object to hold the state of a compilation 2008-11-12 17:16:42 +00:00
girwriter.c Bug 557405 – Use 'allow-none' consistently 2008-10-22 14:02:02 +00:00
girwriter.h Move shared *.[ch] files to girepository from tools 2008-08-09 12:46:48 +00:00
gtypelib.c Bug 556489 – callback annotations 2009-01-03 13:44:42 +00:00
gtypelib.h Bug 556489 – callback annotations 2009-01-03 13:44:42 +00:00
Makefile.am Bug 567813 – Everything should be versioned 2009-01-15 22:31:07 +00:00