]> git.tdb.fi Git - gldbg.git/blobdiff - source/glwrap.funcs.t
Print the contents of arrays and references
[gldbg.git] / source / glwrap.funcs.t
index 59bdb47b216e5e71506731bb4c0d2c0b63b2c8ae..fbba906909d5e803a3037a43a8d1c85c953d232e 100644 (file)
@@ -19,6 +19,8 @@ if ret.ctype!='void':
 for p in params:
        if p.kind=="value":
                wl('    write_%s(%s);', p.io[0], p.name)
+       elif p.kind=="array" and p.io and p.io[0]=="string":
+               wl('  write_string_array(%s, %s);', p.name, p.csize)
        elif p.csize:
                wl('    write_data(%s, %s);', p.name, p.csize)
        else: