]> git.tdb.fi Git - gldbg.git/blob - source/gldecoder.struct.t
e4cf5c6d1c5af309927c45186b68489280c6a3b1
[gldbg.git] / source / gldecoder.struct.t
1 # $Id$
2 ^typemap gl.tm
3 ^iomap gl.io
4 ^spec gl gl.spec
5 :typedef struct sGlDecoder
6 :{
7 :       void *user_data;
8 :       void (*destroy)(void *);
9 w('     void (*%s)(void *', func.name)
10 if ret.ctype!="void":
11         w(', %s', ret.ctype)
12 for p in params:
13         w(', %s', p.ctype)
14 wl(');')
15 :} GlDecoder;