summaryrefslogtreecommitdiffstats
path: root/codegen/defsgen.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3 support for setup.pyJohn Ehresman2010-04-151-2/+2
|
* * codegen/defsgen.py (clean_patterns): Strip out Windows DLL API macros.John Finlay2009-07-081-3/+3
|
* Install executable codegen parts with executing permissionsPaul Pogonyshev2009-05-311-0/+0
| | | | Also add shebang where it was missing. Bug #583979.
* Add option (-p) to use the modulename as a hint to the prefix of functionsJohn Finlay2008-11-031-18/+84
| | | | | | | | | | * codegen/defsgen.py (DefsWriter.write_enum_defs): Add option (-p) to use the modulename as a hint to the prefix of functions and type codes. Provide way to identify untyped enums and flags and print defs for them as well. svn path=/trunk/; revision=975
* Use the passed in prefix as a hint when creating a typecode.John Finlay2008-10-311-13/+27
| | | | | | | | | | | | | | | * 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
* Import codegen from pygtk. Add initial gio and gio.unix bindings.Johan Dahlin2008-01-191-0/+657
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