]> git.tdb.fi Git - gldbg.git/blob - source/gldecoder.struct.t
Enhance the object-orientedness of genwrap.py
[gldbg.git] / source / gldecoder.struct.t
1 # $Id$
2 :typedef struct sGlDecoder
3 :{
4 :       void *user_data;
5 :       void (*destroy)(void *);
6 w('     void (*%s)(void *', func.name)
7 if ret.ctype!="void":
8         w(', %s', ret.ctype)
9 for p in params:
10         w(', %s', p.ctype)
11 wl(');')
12 :} GlDecoder;