Sign in
◑
Theme
fuchsia
/
third_party
/
swig
/
725bc081da170662b194ca1ff5e7e75144bc0760
/
.
/
Examples
/
test-suite
/
lua
/
enum_plus_runme.lua
blob: f957eea085a16646581bb8894647abe8d795ee1f [
file
]
ep
=
require
(
"enum_plus"
)
catch_undef_globs
()
-- catch "undefined" global variables
assert
(
ep
.
iFoo_Phoo
==
50
)
-- Old variant of enum bindings
assert
(
ep
.
iFoo
.
Phoo
==
50
)
-- New variant of enum bindings