APIDump: Ignoring some Lua internal stuff from API-scanning.
parent
ddda753f52
commit
a9969408e4
|
@ -152,12 +152,18 @@ function CreateAPITables()
|
||||||
end
|
end
|
||||||
|
|
||||||
for i, v in pairs(_G) do
|
for i, v in pairs(_G) do
|
||||||
|
if (
|
||||||
|
(v ~= _G) and -- don't want the global namespace
|
||||||
|
(v ~= _G.packages) and -- don't want any packages
|
||||||
|
(v ~= _G[".get"])
|
||||||
|
) then
|
||||||
if (type(v) == "table") then
|
if (type(v) == "table") then
|
||||||
table.insert(API, ParseClass(i, v));
|
table.insert(API, ParseClass(i, v));
|
||||||
else
|
else
|
||||||
Add(Globals, i, v);
|
Add(Globals, i, v);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
SortClass(Globals);
|
SortClass(Globals);
|
||||||
table.sort(API,
|
table.sort(API,
|
||||||
function(c1, c2)
|
function(c1, c2)
|
||||||
|
|
Loading…
Reference in New Issue