X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldecoder.funcs.t;h=af820a46a8a5d4870be17a5521741e21346e50ab;hb=6475e8951e1901b247f5d1d1dd9fcfc1e77e163a;hp=055a272ae3e60c60c51d7fa84ba8c58060108bd4;hpb=2e4973ec66cd8ae12d4253e3c3ad9e36a8a4bca6;p=gldbg.git diff --git a/source/gldecoder.funcs.t b/source/gldecoder.funcs.t index 055a272..af820a4 100644 --- a/source/gldecoder.funcs.t +++ b/source/gldecoder.funcs.t @@ -1,7 +1,4 @@ # $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;') @@ -27,7 +24,7 @@ for p in params: 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) : {