13
0

update luadoc tools

This commit is contained in:
Robin Gareus 2016-04-25 13:49:43 +02:00
parent 4f3f966276
commit 0e4b3735a5

View File

@ -414,6 +414,7 @@ foreach ($doc as $b) {
foreach ($classlist as $ns => $cl) { foreach ($classlist as $ns => $cl) {
if (strpos ($cl['type'], ' Array') !== false) { if (strpos ($cl['type'], ' Array') !== false) {
$classlist[$ns]['arr'] = true; $classlist[$ns]['arr'] = true;
$classlist[$ns]['cdecl'] = $cl['decl'];
continue; continue;
} }
foreach ($classes as $c) { foreach ($classes as $c) {
@ -942,7 +943,7 @@ foreach ($classlist as $ns => $cl) {
} }
# show original C++ declaration # show original C++ declaration
if (isset ($cl['decl'])) { if (isset ($cl['cdecl'])) {
echo '<p class="cdecl"><em>C&#8225;</em>: '.htmlentities ($cl['cdecl']).'</p>'.NL; echo '<p class="cdecl"><em>C&#8225;</em>: '.htmlentities ($cl['cdecl']).'</p>'.NL;
} }