Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Johan Bilien 727bb01805 Bug 557241 – "throws" flag for functions
2008-10-21  Johan Bilien  <jobi@via.ecp.fr>

	Bug 557241 – "throws" flag for functions

	* tests/scanner/drawable-1.0-expected.gir,
	tests/scanner/drawable-injected-1.0-expected.gir,
	tests/scanner/drawable.[ch]: add simple test for throwing
	function (has GError ** as last argument)

	* giscanner/ast.py: add a 'throws' flag to Function
	* giscanner/glibtransformer.py: if a function's last paramerter is
	a GError, set the 'throws' flag and remove that parameter
	* giscanner/girwriter.py: write out the 'throws' attribute
	* giscanner/girparser.py: support parsing the 'throws' attribute

	* tests/repository/gitestthrows.c: add a simple test to check the
	throws flag in a typelib and invoke the function

	* girepository/ginfo.c, girepository/girnode.[ch],
	girepository/girnode.h, girepository/girparser.c,
	girepository/girepository.h: Add and parse the GI_FUNCTION_THROWS flag

	* girepository/ginvoke.c: if a function throws, add a GError as last
	arguments, and propagate the error to the invoker.


svn path=/trunk/; revision=773
2008-10-21 17:04:11 +00:00
ginfo.c Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
ginvoke.c Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
girepository.c Bug 556543 – reduce compiler warnings 2008-10-16 17:07:05 +00:00
girepository.h Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
girmodule.c Bug 556543 – reduce compiler warnings 2008-10-16 17:07:05 +00:00
girmodule.h Bug 552858: versioning 2008-10-12 04:51:48 +00:00
girnode.c Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
girnode.h Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
girparser.c Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
girparser.h Fix --includedir handling 2008-08-28 22:13:00 +00:00
girwriter.c Move shared *.[ch] files to girepository from tools 2008-08-09 12:46:48 +00:00
girwriter.h Move shared *.[ch] files to girepository from tools 2008-08-09 12:46:48 +00:00
gtypelib.c Bug 556543 – reduce compiler warnings 2008-10-16 17:07:05 +00:00
gtypelib.h Bug 557241 – "throws" flag for functions 2008-10-21 17:04:11 +00:00
Makefile.am Make g-ir-scanner work on Windows. Still problems with the typelib code. 2008-08-27 13:33:21 +00:00