/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/lua/template_template_template_parameters_runme.lua
23 строки
711 B
Erez Geva
More Lua tests (#3405)
31 май 2026, 17:09
31 май 2026, 17:09
a1b3ca8
Код
Авторство
О чём код?
local v=require("template_template_template_parameters") local custom_attrs = v.CustomAttrs() assert(swig_type(custom_attrs) == "CustomAttrs *") local ac = v.AC() local bac = v.BAC() local cbac = v.CBAC() local dbac = v.DBAC() custom_attrs = ac.attributes assert(swig_type(custom_attrs) == "CustomAttrs *") custom_attrs = bac.attributes assert(swig_type(custom_attrs) == "CustomAttrs *") custom_attrs = cbac.attributes assert(swig_type(custom_attrs) == "CustomAttrs *") custom_attrs = dbac.attributes assert(swig_type(custom_attrs) == "CustomAttrs *") bac:BMethod(custom_attrs, ac) cbac:BMethod(custom_attrs, ac) dbac:BMethod(custom_attrs, ac) cbac:CMethod(custom_attrs, bac) dbac:DMethod(custom_attrs, bac)