X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglprint.funcs.t;h=cc459790308eab864af19aebd93804dd3c181426;hb=4aba13fc7690cf79e949d9765b371e85e7530207;hp=db626c0539efecdb4a3530fb2b88f79625198a04;hpb=3c32a221de1435ae7af8d96182560e8b28f1a4c0;p=gldbg.git diff --git a/source/glprint.funcs.t b/source/glprint.funcs.t index db626c0..cc45979 100644 --- a/source/glprint.funcs.t +++ b/source/glprint.funcs.t @@ -18,7 +18,7 @@ for p in params: if p.io: w('{%s}', p.io[1]) else: - w('', p.type) + w('', p.type) elif p.kind=="array": w('%%s') first = False @@ -37,6 +37,8 @@ for p in params+[ret]: elif p.kind=="reference": if p.io: w(', *%s', p.name) + else: + w(', %s', p.name) elif p.kind=="array": if not p.csize: w(', print_data(%s, 0)', p.name)