APIDump: Ignoring some Lua internal stuff from API-scanning.

master
madmaxoft 2013-09-13 16:38:39 +02:00
parent ddda753f52
commit a9969408e4
1 changed files with 10 additions and 4 deletions

View File

@ -152,10 +152,16 @@ function CreateAPITables()
end end
for i, v in pairs(_G) do for i, v in pairs(_G) do
if (type(v) == "table") then if (
table.insert(API, ParseClass(i, v)); (v ~= _G) and -- don't want the global namespace
else (v ~= _G.packages) and -- don't want any packages
Add(Globals, i, v); (v ~= _G[".get"])
) then
if (type(v) == "table") then
table.insert(API, ParseClass(i, v));
else
Add(Globals, i, v);
end
end end
end end
SortClass(Globals); SortClass(Globals);