/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Lib/javascript/v8/javascripttypemaps.swg
43 строки
1 KB
William S Fulton
Use the canonical capitalisation of Unified Typemap Library
23 июл 2026, 19:30
23 июл 2026, 19:30
5d35391
Код
Авторство
О чём код?
/* ------------------------------------------------------------ * Typemap specializations for Javascript * ------------------------------------------------------------ */ /* ------------------------------------------------------------ * Fragment section * ------------------------------------------------------------ */ /* Include fundamental fragemt definitions */ %include <typemaps/fragments.swg> /* Look for user fragments file. */ %include <javascriptfragments.swg> /* Javascript fragments for fundamental types */ %include <javascriptprimtypes.swg> /* Javascript fragments for char* strings */ %include <javascriptstrings.swg> /* ------------------------------------------------------------ * Unified Typemap Library section * ------------------------------------------------------------ */ /* Javascript types */ #define SWIG_Object SWIGV8_VALUE #define VOID_Object SWIGV8_UNDEFINED() /* Overload of the output/constant/exception/dirout handling */ /* append output */ #define SWIG_AppendOutput(result, obj) SWIGV8_AppendOutput(result, obj) /* set constant */ #define SWIG_SetConstant(name, obj) /* raise */ #define SWIG_Raise(obj, type, desc) SWIG_V8_Raise(obj, type) /* Include the Unified Typemap Library */ %include <typemaps/swigtypemaps.swg>