X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=libextl%2Flibextl-mkexports.in;h=a23ab1fbc3d14cba6f35ba7e8d14a09b0b0ed538;hp=ff1cac332f326523776c7e39af430c1a1acdd2cc;hb=e3aec18706513a87eaa7839dfdaf7e0fcd0d8d2a;hpb=8366314611bf30a0f31d25bf5f5023186fa87692 diff --git a/libextl/libextl-mkexports.in b/libextl/libextl-mkexports.in index ff1cac3..a23ab1f 100644 --- a/libextl/libextl-mkexports.in +++ b/libextl/libextl-mkexports.in @@ -69,6 +69,7 @@ desc2human={ ["o"]="object", ["s"]="string", ["S"]="string", + ["a"]="any value", } -- }}} @@ -468,13 +469,13 @@ function write_class_fns(h, cls, data) ids='"' .. info.idesc .. '"' end - fprintf(h, " {\"%s\", %s, %s, %s, (ExtlL2CallHandler*)%s, %s, %s},\n", + fprintf(h, " {\"%s\", %s, %s, %s, (ExtlL2CallHandler*)%s, %s, %s, FALSE},\n", info.exported_name, fn, ids, ods, info.chnd, bool2str4c(info.safe), bool2str4c(info.untraced)) end - fprintf(h, " {NULL, NULL, NULL, NULL, NULL, FALSE, FALSE}\n};\n\n") + fprintf(h, " {NULL, NULL, NULL, NULL, NULL, FALSE, FALSE, FALSE}\n};\n\n") end @@ -619,12 +620,14 @@ function write_fndoc(h, fn, info) fn=info.exported_name end + --[[ if info.class~="global" then fprintf(h, "\\index{%s@%s!", texfriendly(info.class), texfriendly_typeormod(info.class)); fprintf(h, "%s@\\code{%s}}\n", texfriendly(fn), fn) end fprintf(h, "\\index{%s@\\code{%s}}\n", texfriendly(fn), fn) + ]] if info.class~="global" then fprintf(h, "\\hyperlabel{fn:%s.%s}", info.class, fn)