summaryrefslogtreecommitdiffstats
path: root/lib/tolua++/src/bin/lua/enumerate.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tolua++/src/bin/lua/enumerate.lua')
-rw-r--r--lib/tolua++/src/bin/lua/enumerate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tolua++/src/bin/lua/enumerate.lua b/lib/tolua++/src/bin/lua/enumerate.lua
index a00b434aa..d5d4426cf 100644
--- a/lib/tolua++/src/bin/lua/enumerate.lua
+++ b/lib/tolua++/src/bin/lua/enumerate.lua
@@ -130,8 +130,8 @@ function Enumerate (n,b,varname)
e.min = min
e.max = max
if n ~= "" then
+ _enum_is_functions[n] = ("tolua_is" .. n)
Typedef("int "..n)
- _is_functions[n] = "tolua_is" .. n
end
return _Enumerate(e, varname)
end