/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/python_runtime_data_builtin.i
23 строки
434 B
William S Fulton
Don't run abi3audit on builtin test
25 мар 2024, 10:52
25 мар 2024, 10:52
86e5e8d
Код
Авторство
О чём код?
// Test swig_runtime_data with and without -builtin %module python_runtime_data_builtin #if defined(SWIGPYTHON_BUILTIN) %begin %{ #if defined(Py_LIMITED_API) #undef Py_LIMITED_API // not yet supported by builtin #endif %} #endif %inline %{ #ifdef SWIGPYTHON_BUILTIN bool is_python_builtin() { return true; } #else bool is_python_builtin() { return false; } #endif %} %include std_vector.i %template(vectord) std::vector<double>;