Skip to content
  • Colin Walters's avatar
    Allow both union and struct to be boxed or not · e28078c7
    Colin Walters authored
    	* girepository/girnode.c: Allow gtype_name
    	and gtype_init in struct and union.
    	* girepository/girparser.c: Parse glib:
    	boxed bits for both structure and union.
    	* girepository/gtypelib.c: Don't barf
    	if structure is boxed.
    	* giscanner/girparser.py: Parse new XML
    	format.
    	* giscanner/girwriter.py: Write out new
    	XML format.
    	* giscanner/glibast.py: Define new classes
    	which are both Boxed and Struct/Union, as
    	well as an "Other" for everything else.
    	* giscanner/glibtransformer.py: Handle
    	boxed types specially; we try to merge
    	them with a struct/union if one exists,
    	otherwise fall back to generic boxed.
    	* tests/*: Update.
    	* tools/generate.c: Write out new format.
    
    svn path=/trunk/; revision=575
    e28078c7