refine Lua doc/doxygen-parser and handle special-cases

This commit is contained in:
Robin Gareus 2016-10-05 04:21:09 +02:00
parent f1080c352a
commit 44b41e3058
2 changed files with 11 additions and 1 deletions

View file

@ -59,6 +59,7 @@ foreach (json_decode (\$json, true) as \$a) {
\$a['decl'] = str_replace ('const long', 'long', \$a['decl']);
\$a['decl'] = str_replace ('const unsigned int', 'unsigned int', \$a['decl']);
\$a['decl'] = str_replace ('const unsigned long', 'unsigned long', \$a['decl']);
\$a['decl'] = str_replace (' ::Vamp::', ' Vamp::', \$a['decl']);
\$canon = str_replace (' *', '*', \$a['decl']);
\$api[\$canon] = \$a;
}