# $Id$
-^typemap gl.tm
-^iomap gl.io
-^spec gl gl.spec
wl('static unsigned decode_%s(GlDecoder *dec, const char *data)', func.name)
wl('{')
wl(' unsigned pos = 0;')
wl(');')
wl(' return pos;')
wl('}')
-:static int decode_func(GlDecoder *dec, short func, const char *data)
+:static int decode_func(GlDecoder *dec, unsigned short func, const char *data)
:{
: switch(func)
: {