APIDump: Removed HOOK_MAX and HOOK_NUM_HOOKS from documentation.
They're not really hooks, just constants for the maximum.
This commit is contained in:
parent
862397856d
commit
e4bb796c6b
@ -180,7 +180,12 @@ function DumpAPIHtml()
|
||||
|
||||
-- Extract hook constants:
|
||||
for name, obj in pairs(cPluginManager) do
|
||||
if (type(obj) == "number") and (name:match("HOOK_.*")) then
|
||||
if (
|
||||
(type(obj) == "number") and
|
||||
name:match("HOOK_.*") and
|
||||
(name ~= "HOOK_MAX") and
|
||||
(name ~= "HOOK_NUM_HOOKS")
|
||||
) then
|
||||
table.insert(Hooks, { Name = name });
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user