]> git.tdb.fi Git - gldbg.git/blobdiff - source/gldecoder.funcs.t
Print the contents of arrays and references
[gldbg.git] / source / gldecoder.funcs.t
index af820a46a8a5d4870be17a5521741e21346e50ab..152b71b5155aef93a253215d9a87251a81948e87 100644 (file)
@@ -11,6 +11,8 @@ if ret.ctype!="void":
 for p in params:
        if p.kind=="value":
                wl('    pos += read_%s(&p_%s, data+pos);', p.io[0], p.name)
+       elif p.kind=="array" and p.io and p.io[0]=="string":
+               wl('  pos += read_string_array(&p_%s, data+pos);', p.name)
        elif p.csize:
                wl('    pos += read_data((const void **)&p_%s, data+pos);', p.name)
        else: