/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/lua/static_const_member_runme.lua
13 строк
311 B
Erez Geva
Remove Lua 5.0 and Lua 5.1 and Lua options
30 май 2026, 19:24
30 май 2026, 19:24
74ff929
Код
Авторство
О чём код?
scm=require("static_const_member") catch_undef_globs() -- catch "undefined" global variables assert(scm.X.PN == 0) assert(scm.X.CN == 1) assert(scm.X.EN == 2) assert(scm.X.CHARTEST == "A") -- Old-style bindings assert(scm.X_PN == 0) assert(scm.X_CN == 1) assert(scm.X_EN == 2) assert(scm.X_CHARTEST == "A")