/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/javascript/cpp_static_runme.js
8 строк
295 B
Karl Wette
Allow examples and test-suite to be built out of source tree
12 май 2014, 01:21
12 май 2014, 01:21
f574a34
Код
Авторство
О чём код?
var cpp_static = require("cpp_static"); cpp_static.StaticFunctionTest.static_func(); cpp_static.StaticFunctionTest.static_func_2(1); cpp_static.StaticFunctionTest.static_func_3(1,2); cpp_static.StaticMemberTest.static_int = 10; if (cpp_static.StaticMemberTest.static_int != 10) throw "error";