diff options
author | madmaxoft <github@xoft.cz> | 2013-09-12 20:29:31 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-12 20:29:31 +0200 |
commit | 69060f265629345066f385277bdd60fb4972e958 (patch) | |
tree | 18ca5defdef4c1efa6fa378a0945ace907f594f1 /MCServer | |
parent | APIDump: Processing wiki-style bullets (" * ") into <li> tag (diff) | |
download | cuberite-69060f265629345066f385277bdd60fb4972e958.tar cuberite-69060f265629345066f385277bdd60fb4972e958.tar.gz cuberite-69060f265629345066f385277bdd60fb4972e958.tar.bz2 cuberite-69060f265629345066f385277bdd60fb4972e958.tar.lz cuberite-69060f265629345066f385277bdd60fb4972e958.tar.xz cuberite-69060f265629345066f385277bdd60fb4972e958.tar.zst cuberite-69060f265629345066f385277bdd60fb4972e958.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/main.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua index 0fb6893b5..5d0070be3 100644 --- a/MCServer/Plugins/APIDump/main.lua +++ b/MCServer/Plugins/APIDump/main.lua @@ -466,14 +466,13 @@ function ConvertWikiToDesc() -- Write the info into the output file: fout:write("\t\t" .. ClassName .. " =\n\t\t{\n\t\t\tDesc = [[" .. Desc .. "]],\n\t\t\tFunctions =\n\t\t\t{\n"); for i, func in ipairs(Functions) do - LOG(ClassName .. "." .. func.Name); - fout:write(string.format("\t\t\t\t{ %s = { Params = %q, Return = %q, Notes = %q } },\n", + fout:write(string.format("\t\t\t\t%s = { Params = %q, Return = %q, Notes = %q },\n", func.Name, func.Params, func.Return, func.Notes )); end fout:write("\t\t\t},\n\t\t\tConstants =\n\t\t\t{\n"); for i, cons in ipairs(Constants) do - fout:write(string.format("\t\t\t\t{ %s = { Notes = %q } },\n", + fout:write(string.format("\t\t\t\t%s = { Notes = %q },\n", cons.Name, cons.Notes )); end |