summaryrefslogtreecommitdiff
path: root/mkgtk.py
blob: 6a4be604f01fda2b63dab055fae0e81c656897e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import sys
# add the generate directory to beginning of path ...
sys.path.insert(0, './generate')

import generate

p = generate.FilteringParser(input='generate/gtk.defs',
			     prefix='gtkmodule',
			     typeprefix='&')
p.addExcludeFile('generate/gtk.ignore')
p.addExcludeGlob('*_interp')
p.addExcludeGlob('*_visual')
p.startParsing()