--- /dev/null
+# $Id$
+^typemap gl.tm
+^iomap gl.io
+^spec gl gl.spec
+:typedef struct sGlDecoder
+:{
+: void *user_data;
+: void (*destroy)(void *);
+w(' void (*%s)(void *', func.name)
+if ret.ctype!="void":
+ w(', %s', ret.ctype)
+for p in params:
+ w(', %s', p.ctype)
+wl(');')
+:} GlDecoder;