summaryrefslogtreecommitdiff
path: root/tests/scanner/gettype.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/scanner: Decorate Symbols for ExportChun-wei Fan2014-08-151-0/+2
| | | | | | | | | | This updates the test headers and sources to decorate the symbols with the macro that can be used to export the symbols, and include config.h first in the c-sources so that the macro can be defined with the compiler directive to export the symbols. Update the CFLAGS as well so that the header that defines the export decoration macro can be found. https://bugzilla.gnome.org/show_bug.cgi?id=732669
* Reformat code to GNU styleMartin Pitt2013-02-271-7/+7
| | | | | This was achieved by running "indent -gnu -i2 -nut -l120" over C files which use a different style, and manually fixing pointer declarations and modelines.
* Fix matching of methods named *_get_type()Matthew Booth2012-03-061-0/+62
The code which heuristically turned functions into class methods would always ignore any function called *_get_type or *_get_gtype. However, the code which looked for GI metadata functions to execute them was much more comprehensive, checking not just the name, but also that it had no parameters and that it returned a GType. This change abstracts the more comprehensive check into the Function class, and uses the same check in both places. https://bugzilla.gnome.org/show_bug.cgi?id=671218