diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-25 00:43:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-25 00:43:15 +0100 |
commit | cac89c0b42a9854e3623dd56bcdb70971e6800d4 (patch) | |
tree | 2ea00d32610836542a504dcb81d407bb5ca768d7 /tools/doxy2json | |
parent | f4bed602e87da8fcd9c229bdfe650f39ec101ae7 (diff) |
update luadoc scripts
Diffstat (limited to 'tools/doxy2json')
-rwxr-xr-x | tools/doxy2json/ardourdoc.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/doxy2json/ardourdoc.sh b/tools/doxy2json/ardourdoc.sh index 8d69a64e28..91db7c280e 100755 --- a/tools/doxy2json/ardourdoc.sh +++ b/tools/doxy2json/ardourdoc.sh @@ -42,6 +42,13 @@ foreach (json_decode (\$json, true) as \$a) { if (substr (\$a['decl'], 0, 11) == 'luabridge::') { continue; } \$a['decl'] = str_replace ('size_t', 'unsigned long', \$a['decl']); + \$a['decl'] = str_replace ('uint32_t', 'unsigned int', \$a['decl']); + \$a['decl'] = str_replace ('framepos_t', 'long', \$a['decl']); + \$a['decl'] = str_replace ('frameoffset_t', 'long', \$a['decl']); + \$a['decl'] = str_replace ('int64_t', 'long', \$a['decl']); + \$a['decl'] = str_replace ('uint8_t', 'unsigned char', \$a['decl']); + \$a['decl'] = str_replace ('pframes_t', 'unsigned int', \$a['decl']); + \$a['decl'] = str_replace ('uint64_t', 'unsigned long', \$a['decl']); \$canon = str_replace (' *', '*', \$a['decl']); \$api[\$canon] = \$a; } |