summaryrefslogtreecommitdiffstats
path: root/codegen/h2def.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow h2def.py to work when there are tabs or multiple spaces after the ↵Murray Cumming2009-06-181-4/+4
| | | | struct keyword.
* Add -n --namespace option and the code to removeSiavash Safi2009-05-041-24/+109
| | | | | | dll API in headers, Added documentation Patch from bug #579275
* :write_enum_defs(): Prevent an exception when the prefix is empty.Murray Cumming2009-02-061-1/+1
| | | | | | | | | 2009-02-06 Murray Cumming <murrayc@murrayc.com> * codegen/h2def.py DefsWriter::write_enum_defs(): Prevent an exception when the prefix is empty. svn path=/trunk/; revision=1001
* Add defsgen to __all__ list. Strip out # directives from enum defintions.John Finlay2008-11-011-0/+5
| | | | | | | | | * codegen/__init__.py (__all__): Add defsgen to __all__ list. * codegen/h2def.py (find_enum_defs): Strip out # directives from enum defintions. (clean_func): Change ' * G_CONST_RETURN * ' to '** ' svn path=/trunk/; revision=974
* Use the passed in prefix as a hint when creating a typecode.John Finlay2008-10-311-1/+2
| | | | | | | | | | | | | | | * codegen/defsgen.py (typecode): Use the passed in prefix as a hint when creating a typecode. (split_prefix,write_enum_defs,_write_obj_helper): Add function to use passed in prefix as a hint when splitting an object name into module and name. * codegen/h2def.py (DefsWriter.write_enum_defs): Make sure the prefix ends with a _ i.e. really handle the GDK_FONT_FONT, GDK_FONT_FONTSET case. svn path=/trunk/; revision=972
* Bug 450659 – h2def.py - export 'typedef struct' object definitions notJohan Dahlin2008-07-141-1/+1
| | | | | | | | | | | | | 2008-07-15 Johan Dahlin <johan@gnome.org> Bug 450659 – h2def.py - export 'typedef struct' object definitions not working * codegen/h2def.py: Patch by Lauro Moura svn path=/trunk/; revision=807
* clean_func(): Strip GSEAL out, to avoid us thinking that there are manyMurray Cumming2008-07-131-2/+6
| | | | | | | | | | | | | | | 2008-07-08 Murray Cumming <murrayc@murrayc.com> * codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid us thinking that there are many functions called GSEAL (merge from PyGTK). 2008-01-29 Olivier Crete <tester@tester.ca> * codegen/h2def.py (DefsWriter.__init__): Fix copy-paste typos (merge from PyGTK). svn path=/trunk/; revision=794
* Update link to defs format discussionJohan Dahlin2008-04-211-1/+1
| | | | | | | | | 2008-04-21 Johan Dahlin <johan@gnome.org> * codegen/h2def.py: Update link to defs format discussion svn path=/trunk/; revision=778
* Import codegen from pygtk. Add initial gio and gio.unix bindings.Johan Dahlin2008-01-191-0/+536
2008-01-19 Johan Dahlin <johan@gnome.org> * Makefile.am: * codegen/Makefile.am: * codegen/README.defs: * codegen/__init__.py: * codegen/argtypes.py: * codegen/code-coverage.py: * codegen/codegen.py: * codegen/createdefs.py: * codegen/definitions.py: * codegen/defsconvert.py: * codegen/defsgen.py: * codegen/defsparser.py: * codegen/docextract.py: * codegen/docextract_to_xml.py: * codegen/docgen.py: * codegen/h2def.py: * codegen/mergedefs.py: * codegen/missingdefs.py: * codegen/mkskel.py: * codegen/override.py: * codegen/pygtk-codegen-2.0.in: * codegen/reversewrapper.py: * codegen/scanvirtuals.py: * codegen/scmexpr.py: * configure.ac: * gio/Makefile.am: * gio/__init__.py: * gio/gio-types.defs: * gio/gio.defs: * gio/gio.override: * gio/giomodule.c: (init_gio): * gio/unix-types.defs: * gio/unix.defs: * gio/unix.override: * gio/unixmodule.c: (initunix): Import codegen from pygtk. Add initial gio and gio.unix bindings. svn path=/trunk/; revision=730