diff --git a/binding.gyp b/binding.gyp index 3bd9b5a..b5a830e 100644 --- a/binding.gyp +++ b/binding.gyp @@ -101,6 +101,9 @@ "<(medooze_media_server_src)/src/speex/resample.c", "<(medooze_media_server_src)/src/opus/opusdepacketizer.cpp", "<(medooze_media_server_src)/src/rtp/RTPDepacketizer.cpp", + "<(medooze_media_server_src)/src/rtp/RTPPacketizer.cpp", + "<(medooze_media_server_src)/src/h264/H26xPacketizer.cpp", + "<(medooze_media_server_src)/src/h264/H264Packetizer.cpp", "<(medooze_media_server_src)/src/rtp/RTPIncomingMediaStreamDepacketizer.cpp", ], "conditions" : [ diff --git a/src/audio-codecs_wrap.cxx b/src/audio-codecs_wrap.cxx index 41e8a84..1ccb935 100644 --- a/src/audio-codecs_wrap.cxx +++ b/src/audio-codecs_wrap.cxx @@ -1,36 +1,14 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.1.0 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template T SwigValueInit() { - return T(); -} -#endif +#define SWIG_VERSION 0x040101 +#define SWIGJAVASCRIPT /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -227,6 +205,8 @@ template T SwigValueInit() { #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 +#define SWIG_POINTER_CLEAR 0x8 +#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -312,7 +292,13 @@ template T SwigValueInit() { */ #define SWIG_OK (0) +/* Runtime errors are < 0 */ #define SWIG_ERROR (-1) +/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ +/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ +/* Errors < -200 are generic runtime specific errors */ +#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) + #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) @@ -327,7 +313,7 @@ template T SwigValueInit() { #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ +/* Check, add and del object mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) @@ -533,9 +519,9 @@ SWIG_TypeName(const swig_type_info *ty) { SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ + type, separated by vertical-bar characters. Choose the last + name. It should be the most specific; a fully resolved name + but not necessarily with default template parameters expanded. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -755,7 +741,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* Errors in SWIG */ +/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -771,7 +757,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define SWIG_NullReferenceError -13 - /* --------------------------------------------------------------------------- * These typedefs and defines are used to deal with v8 API changes * @@ -870,6 +855,11 @@ SWIGINTERN void SWIG_V8_Raise(const char *msg) { SWIGV8_THROW_EXCEPTION(v8::Exception::Error(SWIGV8_STRING_NEW(msg))); } +SWIGINTERN void SWIG_V8_Raise(SWIGV8_VALUE obj, const char *msg) { + SWIGV8_THROW_EXCEPTION(v8::Exception::Error(SWIGV8_TO_STRING(obj))); +} + + /* Note: There are two contexts for handling errors. A static V8ErrorHandler is used in not overloaded methods. @@ -968,8 +958,15 @@ SWIGRUNTIME int SWIG_V8_ConvertInstancePtr(SWIGV8_OBJECT objRef, void **ptr, swi *ptr = cdata->swigCObject; } - if(flags & SWIG_POINTER_DISOWN) { - cdata->swigCMemOwn = false; + if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !cdata->swigCMemOwn) { + return SWIG_ERROR_RELEASE_NOT_OWNED; + } else { + if (flags & SWIG_POINTER_DISOWN) { + cdata->swigCMemOwn = false; + } + if (flags & SWIG_POINTER_CLEAR) { + cdata->swigCObject = 0; + } } return SWIG_OK; } @@ -1375,8 +1372,52 @@ static swig_module_info swig_module = {swig_types, 28, 0, 0, 0, 0}; -#define SWIGVERSION 0x040100 -#define SWIG_VERSION SWIGVERSION +#ifdef __cplusplus +#include +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) @@ -1569,7 +1610,7 @@ RTPReceiverShared* RTPReceiverShared_from_proxy(const v8::Local input #include "FrameDispatchCoordinator.h" -SWIGINTERN void FrameDispatchCoordinator_SetMaxDelayMs__SWIG(FrameDispatchCoordinator *self,uint32_t maxDelayMs){ +SWIGINTERN void FrameDispatchCoordinator_SetMaxDelayMs(FrameDispatchCoordinator *self,uint32_t maxDelayMs){ self->SetMaxDelayMs(std::chrono::milliseconds(maxDelayMs)); } @@ -1610,7 +1651,7 @@ SWIGINTERN FrameDispatchCoordinatorShared *new_FrameDispatchCoordinatorShared__S SWIGINTERN FrameDispatchCoordinatorShared *new_FrameDispatchCoordinatorShared__SWIG_1(){ return new std::shared_ptr(new FrameDispatchCoordinator()); } -SWIGINTERN void MediaFrameListenerBridge_SetMaxDelayMs__SWIG(MediaFrameListenerBridge *self,uint32_t maxDelayMs){ +SWIGINTERN void MediaFrameListenerBridge_SetMaxDelayMs(MediaFrameListenerBridge *self,uint32_t maxDelayMs){ self->SetMaxDelayMs(std::chrono::milliseconds(maxDelayMs)); } @@ -1634,16 +1675,16 @@ MediaFrameListenerBridgeShared* MediaFrameListenerBridgeShared_from_proxy(const SWIGINTERN MediaFrameListenerBridgeShared *new_MediaFrameListenerBridgeShared(TimeService &timeService,int ssrc){ return new std::shared_ptr(MediaFrameListenerBridge::Create(timeService, ssrc)); } -SWIGINTERN RTPIncomingMediaStreamShared MediaFrameListenerBridgeShared_toRTPIncomingMediaStream__SWIG(MediaFrameListenerBridgeShared *self){ +SWIGINTERN RTPIncomingMediaStreamShared MediaFrameListenerBridgeShared_toRTPIncomingMediaStream(MediaFrameListenerBridgeShared *self){ return std::static_pointer_cast(*self); } -SWIGINTERN RTPReceiverShared MediaFrameListenerBridgeShared_toRTPReceiver__SWIG(MediaFrameListenerBridgeShared *self){ +SWIGINTERN RTPReceiverShared MediaFrameListenerBridgeShared_toRTPReceiver(MediaFrameListenerBridgeShared *self){ return std::static_pointer_cast(*self); } -SWIGINTERN MediaFrameListenerShared MediaFrameListenerBridgeShared_toMediaFrameListener__SWIG(MediaFrameListenerBridgeShared *self){ +SWIGINTERN MediaFrameListenerShared MediaFrameListenerBridgeShared_toMediaFrameListener(MediaFrameListenerBridgeShared *self){ return std::static_pointer_cast(*self); } -SWIGINTERN MediaFrameProducerShared MediaFrameListenerBridgeShared_toMediaFrameProducer__SWIG(MediaFrameListenerBridgeShared *self){ +SWIGINTERN MediaFrameProducerShared MediaFrameListenerBridgeShared_toMediaFrameProducer(MediaFrameListenerBridgeShared *self){ return std::static_pointer_cast(*self); } @@ -1755,10 +1796,10 @@ SWIG_AsVal_float (SWIGV8_VALUE obj, float *val) return res; } -SWIGINTERN void Properties_SetIntegerProperty__SWIG(Properties *self,char const *key,int intval){ self->SetProperty(key,intval); } -SWIGINTERN void Properties_SetStringProperty__SWIG(Properties *self,char const *key,char const *val){ self->SetProperty(key,val); } -SWIGINTERN void Properties_SetBooleanProperty__SWIG(Properties *self,char const *key,bool boolval){ self->SetProperty(key,boolval); } -SWIGINTERN void Properties_SetFloatProperty__SWIG(Properties *self,char const *key,float floatval){ self->SetProperty(key,floatval); } +SWIGINTERN void Properties_SetIntegerProperty(Properties *self,char const *key,int intval){ self->SetProperty(key,intval); } +SWIGINTERN void Properties_SetStringProperty(Properties *self,char const *key,char const *val){ self->SetProperty(key,val); } +SWIGINTERN void Properties_SetBooleanProperty(Properties *self,char const *key,bool boolval){ self->SetProperty(key,boolval); } +SWIGINTERN void Properties_SetFloatProperty(Properties *self,char const *key,float floatval){ self->SetProperty(key,floatval); } extern "C" { #include "libavcodec/avcodec.h" @@ -1873,7 +1914,7 @@ AudioDecoderFacadeShared* AudioDecoderFacadeShared_from_proxy(const v8::Local(new AudioDecoderFacade()); } -SWIGINTERN MediaFrameListenerShared AudioDecoderFacadeShared_toMediaFrameListener__SWIG(AudioDecoderFacadeShared *self){ +SWIGINTERN MediaFrameListenerShared AudioDecoderFacadeShared_toMediaFrameListener(AudioDecoderFacadeShared *self){ return std::static_pointer_cast(*self); } @@ -2228,7 +2269,7 @@ static SwigV8ReturnValue _wrap_RTPIncomingMediaStream_GetMediaSSRC(const SwigV8A } arg1 = reinterpret_cast< RTPIncomingMediaStream * >(argp1); result = (arg1)->GetMediaSSRC(); - jsresult = SWIG_NewPointerObj((new DWORD(static_cast< const DWORD& >(result))), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new DWORD(result)), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -2530,7 +2571,7 @@ static SwigV8ReturnValue _wrap_FrameDispatchCoordinator_SetMaxDelayMs(const Swig arg2 = *(reinterpret_cast< uint32_t * >(argp2)); } } - FrameDispatchCoordinator_SetMaxDelayMs__SWIG(arg1,arg2); + FrameDispatchCoordinator_SetMaxDelayMs(arg1,SWIG_STD_MOVE(arg2)); jsresult = SWIGV8_UNDEFINED(); @@ -2753,7 +2794,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_numFrames_get(v8::Local< } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->numFrames); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -2814,7 +2855,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_numPackets_get(v8::Local } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->numPackets); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -2875,7 +2916,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_numFramesDelta_get(v8::L } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->numFramesDelta); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -2936,7 +2977,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_numPacketsDelta_get(v8:: } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->numPacketsDelta); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -2997,7 +3038,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_totalBytes_get(v8::Local } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->totalBytes); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3058,7 +3099,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_bitrate_get(v8::Local(argp1); result = ((arg1)->bitrate); - jsresult = SWIG_NewPointerObj((new DWORD(static_cast< const DWORD& >(result))), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new DWORD(result)), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3119,7 +3160,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_minWaitedTime_get(v8::Lo } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->minWaitedTime); - jsresult = SWIG_NewPointerObj((new DWORD(static_cast< const DWORD& >(result))), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new DWORD(result)), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3180,7 +3221,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_maxWaitedTime_get(v8::Lo } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->maxWaitedTime); - jsresult = SWIG_NewPointerObj((new DWORD(static_cast< const DWORD& >(result))), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new DWORD(result)), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3241,7 +3282,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_avgWaitedTime_get(v8::Lo } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->avgWaitedTime); - jsresult = SWIG_NewPointerObj((new DWORD(static_cast< const DWORD& >(result))), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new DWORD(result)), SWIGTYPE_p_DWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3302,7 +3343,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_width_get(v8::Local(argp1); result = ((arg1)->width); - jsresult = SWIG_NewPointerObj((new WORD(static_cast< const WORD& >(result))), SWIGTYPE_p_WORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new WORD(result)), SWIGTYPE_p_WORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3363,7 +3404,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_height_get(v8::Local(argp1); result = ((arg1)->height); - jsresult = SWIG_NewPointerObj((new WORD(static_cast< const WORD& >(result))), SWIGTYPE_p_WORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new WORD(result)), SWIGTYPE_p_WORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3424,7 +3465,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_iframes_get(v8::Local(argp1); result = ((arg1)->iframes); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3485,7 +3526,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_iframesDelta_get(v8::Loc } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->iframesDelta); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3546,7 +3587,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_bframes_get(v8::Local(argp1); result = ((arg1)->bframes); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3607,7 +3648,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_bframesDelta_get(v8::Loc } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->bframesDelta); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3668,7 +3709,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_pframes_get(v8::Local(argp1); result = ((arg1)->pframes); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3729,7 +3770,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_pframesDelta_get(v8::Loc } arg1 = reinterpret_cast< MediaFrameListenerBridge * >(argp1); result = ((arg1)->pframesDelta); - jsresult = SWIG_NewPointerObj((new QWORD(static_cast< const QWORD& >(result))), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); + jsresult = SWIG_NewPointerObj((new QWORD(result)), SWIGTYPE_p_QWORD, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN_INFO(jsresult, info); @@ -3960,7 +4001,7 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridge_SetMaxDelayMs(const Swig arg2 = *(reinterpret_cast< uint32_t * >(argp2)); } } - MediaFrameListenerBridge_SetMaxDelayMs__SWIG(arg1,arg2); + MediaFrameListenerBridge_SetMaxDelayMs(arg1,SWIG_STD_MOVE(arg2)); jsresult = SWIGV8_UNDEFINED(); @@ -4049,8 +4090,8 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridgeShared_toRTPIncomingMedia SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridgeShared_toRTPIncomingMediaStream" "', argument " "1"" of type '" "MediaFrameListenerBridgeShared *""'"); } arg1 = reinterpret_cast< MediaFrameListenerBridgeShared * >(argp1); - result = MediaFrameListenerBridgeShared_toRTPIncomingMediaStream__SWIG(arg1); - jsresult = SWIG_NewPointerObj((new RTPIncomingMediaStreamShared(static_cast< const RTPIncomingMediaStreamShared& >(result))), SWIGTYPE_p_RTPIncomingMediaStreamShared, SWIG_POINTER_OWN | 0 ); + result = MediaFrameListenerBridgeShared_toRTPIncomingMediaStream(arg1); + jsresult = SWIG_NewPointerObj((new RTPIncomingMediaStreamShared(result)), SWIGTYPE_p_RTPIncomingMediaStreamShared, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -4077,8 +4118,8 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridgeShared_toRTPReceiver(cons SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridgeShared_toRTPReceiver" "', argument " "1"" of type '" "MediaFrameListenerBridgeShared *""'"); } arg1 = reinterpret_cast< MediaFrameListenerBridgeShared * >(argp1); - result = MediaFrameListenerBridgeShared_toRTPReceiver__SWIG(arg1); - jsresult = SWIG_NewPointerObj((new RTPReceiverShared(static_cast< const RTPReceiverShared& >(result))), SWIGTYPE_p_RTPReceiverShared, SWIG_POINTER_OWN | 0 ); + result = MediaFrameListenerBridgeShared_toRTPReceiver(arg1); + jsresult = SWIG_NewPointerObj((new RTPReceiverShared(result)), SWIGTYPE_p_RTPReceiverShared, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -4105,8 +4146,8 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridgeShared_toMediaFrameListen SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridgeShared_toMediaFrameListener" "', argument " "1"" of type '" "MediaFrameListenerBridgeShared *""'"); } arg1 = reinterpret_cast< MediaFrameListenerBridgeShared * >(argp1); - result = MediaFrameListenerBridgeShared_toMediaFrameListener__SWIG(arg1); - jsresult = SWIG_NewPointerObj((new MediaFrameListenerShared(static_cast< const MediaFrameListenerShared& >(result))), SWIGTYPE_p_MediaFrameListenerShared, SWIG_POINTER_OWN | 0 ); + result = MediaFrameListenerBridgeShared_toMediaFrameListener(arg1); + jsresult = SWIG_NewPointerObj((new MediaFrameListenerShared(result)), SWIGTYPE_p_MediaFrameListenerShared, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -4133,8 +4174,8 @@ static SwigV8ReturnValue _wrap_MediaFrameListenerBridgeShared_toMediaFrameProduc SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MediaFrameListenerBridgeShared_toMediaFrameProducer" "', argument " "1"" of type '" "MediaFrameListenerBridgeShared *""'"); } arg1 = reinterpret_cast< MediaFrameListenerBridgeShared * >(argp1); - result = MediaFrameListenerBridgeShared_toMediaFrameProducer__SWIG(arg1); - jsresult = SWIG_NewPointerObj((new MediaFrameProducerShared(static_cast< const MediaFrameProducerShared& >(result))), SWIGTYPE_p_MediaFrameProducerShared, SWIG_POINTER_OWN | 0 ); + result = MediaFrameListenerBridgeShared_toMediaFrameProducer(arg1); + jsresult = SWIG_NewPointerObj((new MediaFrameProducerShared(result)), SWIGTYPE_p_MediaFrameProducerShared, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -4448,7 +4489,7 @@ static SwigV8ReturnValue _wrap_Properties_SetIntegerProperty(const SwigV8Argumen SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Properties_SetIntegerProperty" "', argument " "3"" of type '" "int""'"); } arg3 = static_cast< int >(val3); - Properties_SetIntegerProperty__SWIG(arg1,(char const *)arg2,arg3); + Properties_SetIntegerProperty(arg1,(char const *)arg2,arg3); jsresult = SWIGV8_UNDEFINED(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -4495,7 +4536,7 @@ static SwigV8ReturnValue _wrap_Properties_SetStringProperty(const SwigV8Argument SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Properties_SetStringProperty" "', argument " "3"" of type '" "char const *""'"); } arg3 = reinterpret_cast< char * >(buf3); - Properties_SetStringProperty__SWIG(arg1,(char const *)arg2,(char const *)arg3); + Properties_SetStringProperty(arg1,(char const *)arg2,(char const *)arg3); jsresult = SWIGV8_UNDEFINED(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -4541,7 +4582,7 @@ static SwigV8ReturnValue _wrap_Properties_SetBooleanProperty(const SwigV8Argumen SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Properties_SetBooleanProperty" "', argument " "3"" of type '" "bool""'"); } arg3 = static_cast< bool >(val3); - Properties_SetBooleanProperty__SWIG(arg1,(char const *)arg2,arg3); + Properties_SetBooleanProperty(arg1,(char const *)arg2,arg3); jsresult = SWIGV8_UNDEFINED(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -4587,7 +4628,7 @@ static SwigV8ReturnValue _wrap_Properties_SetFloatProperty(const SwigV8Arguments SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Properties_SetFloatProperty" "', argument " "3"" of type '" "float""'"); } arg3 = static_cast< float >(val3); - Properties_SetFloatProperty__SWIG(arg1,(char const *)arg2,arg3); + Properties_SetFloatProperty(arg1,(char const *)arg2,arg3); jsresult = SWIGV8_UNDEFINED(); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -4993,8 +5034,8 @@ static SwigV8ReturnValue _wrap_AudioDecoderFacadeShared_toMediaFrameListener(con SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AudioDecoderFacadeShared_toMediaFrameListener" "', argument " "1"" of type '" "AudioDecoderFacadeShared *""'"); } arg1 = reinterpret_cast< AudioDecoderFacadeShared * >(argp1); - result = AudioDecoderFacadeShared_toMediaFrameListener__SWIG(arg1); - jsresult = SWIG_NewPointerObj((new MediaFrameListenerShared(static_cast< const MediaFrameListenerShared& >(result))), SWIGTYPE_p_MediaFrameListenerShared, SWIG_POINTER_OWN | 0 ); + result = AudioDecoderFacadeShared_toMediaFrameListener(arg1); + jsresult = SWIG_NewPointerObj((new MediaFrameListenerShared(result)), SWIGTYPE_p_MediaFrameListenerShared, SWIG_POINTER_OWN | 0 ); SWIGV8_RETURN(jsresult); @@ -5419,54 +5460,54 @@ static void _wrap_delete_AudioPipe(const v8::WeakCallbackInfo &dat /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_EventLoopTo_p_TimeService(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((TimeService *) ((EventLoop *) x)); -} -static void *_p_MediaFrameListenerBridgeTo_p_RTPReceiver(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((RTPReceiver *) ((MediaFrameListenerBridge *) x)); +static void *_p_AudioPipeTo_p_AudioInput(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((AudioInput *) ((AudioPipe *) x)); } -static void *_p_MediaFrameListenerBridgeTo_p_MediaFrameListener(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((MediaFrameListener *) ((MediaFrameListenerBridge *) x)); +static void *_p_AudioPipeTo_p_AudioOutput(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((AudioOutput *) ((AudioPipe *) x)); } static void *_p_AudioDecoderFacadeTo_p_MediaFrameListener(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((MediaFrameListener *) ((AudioDecoderFacade *) x)); } -static void *_p_AudioPipeTo_p_AudioInput(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((AudioInput *) ((AudioPipe *) x)); +static void *_p_MediaFrameListenerBridgeTo_p_MediaFrameListener(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((MediaFrameListener *) ((MediaFrameListenerBridge *) x)); } static void *_p_MediaFrameListenerBridgeTo_p_MediaFrameProducer(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((MediaFrameProducer *) ((MediaFrameListenerBridge *) x)); } -static void *_p_AudioPipeTo_p_AudioOutput(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((AudioOutput *) ((AudioPipe *) x)); -} static void *_p_MediaFrameListenerBridgeTo_p_RTPIncomingMediaStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((RTPIncomingMediaStream *) ((MediaFrameListenerBridge *) x)); } +static void *_p_MediaFrameListenerBridgeTo_p_RTPReceiver(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((RTPReceiver *) ((MediaFrameListenerBridge *) x)); +} +static void *_p_EventLoopTo_p_TimeService(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((TimeService *) ((EventLoop *) x)); +} static swig_type_info _swigt__p_AudioCodecs = {"_p_AudioCodecs", "p_AudioCodecs", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_AudioDecoderFacade = {"_p_AudioDecoderFacade", "p_AudioDecoderFacade|AudioDecoderFacade *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_AudioDecoderFacadeShared = {"_p_AudioDecoderFacadeShared", "p_AudioDecoderFacadeShared|AudioDecoderFacadeShared *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_AudioEncoderFacade = {"_p_AudioEncoderFacade", "p_AudioEncoderFacade|AudioEncoderFacade *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_AudioInput = {"_p_AudioInput", "AudioInput *|p_AudioInput", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_AudioDecoderFacade = {"_p_AudioDecoderFacade", "AudioDecoderFacade *|p_AudioDecoderFacade", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_AudioDecoderFacadeShared = {"_p_AudioDecoderFacadeShared", "AudioDecoderFacadeShared *|p_AudioDecoderFacadeShared", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_AudioEncoderFacade = {"_p_AudioEncoderFacade", "AudioEncoderFacade *|p_AudioEncoderFacade", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_AudioInput = {"_p_AudioInput", "p_AudioInput|AudioInput *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_AudioOutput = {"_p_AudioOutput", "p_AudioOutput|AudioOutput *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_AudioPipe = {"_p_AudioPipe", "p_AudioPipe", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_DWORD = {"_p_DWORD", "DWORD *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_EventLoop = {"_p_EventLoop", "EventLoop *|p_EventLoop", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FrameDispatchCoordinator = {"_p_FrameDispatchCoordinator", "p_FrameDispatchCoordinator|FrameDispatchCoordinator *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_FrameDispatchCoordinatorShared = {"_p_FrameDispatchCoordinatorShared", "p_FrameDispatchCoordinatorShared|FrameDispatchCoordinatorShared *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_FrameDispatchCoordinatorShared = {"_p_FrameDispatchCoordinatorShared", "FrameDispatchCoordinatorShared *|p_FrameDispatchCoordinatorShared", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_MediaFrameListener = {"_p_MediaFrameListener", "p_MediaFrameListener|MediaFrameListener *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_MediaFrameListenerBridge = {"_p_MediaFrameListenerBridge", "p_MediaFrameListenerBridge|MediaFrameListenerBridge *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_MediaFrameListenerBridgeShared = {"_p_MediaFrameListenerBridgeShared", "p_MediaFrameListenerBridgeShared|MediaFrameListenerBridgeShared *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_MediaFrameListenerBridgeShared = {"_p_MediaFrameListenerBridgeShared", "MediaFrameListenerBridgeShared *|p_MediaFrameListenerBridgeShared", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_MediaFrameListenerShared = {"_p_MediaFrameListenerShared", "p_MediaFrameListenerShared|MediaFrameListenerShared *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_MediaFrameProducer = {"_p_MediaFrameProducer", "MediaFrameProducer *|p_MediaFrameProducer", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_MediaFrameProducer = {"_p_MediaFrameProducer", "p_MediaFrameProducer|MediaFrameProducer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_MediaFrameProducerShared = {"_p_MediaFrameProducerShared", "p_MediaFrameProducerShared|MediaFrameProducerShared *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_Properties = {"_p_Properties", "Properties *|p_Properties", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_Properties = {"_p_Properties", "p_Properties|Properties *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_QWORD = {"_p_QWORD", "QWORD *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_RTPIncomingMediaStream = {"_p_RTPIncomingMediaStream", "p_RTPIncomingMediaStream|RTPIncomingMediaStream *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_RTPIncomingMediaStreamShared = {"_p_RTPIncomingMediaStreamShared", "p_RTPIncomingMediaStreamShared|RTPIncomingMediaStreamShared *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_RTPReceiver = {"_p_RTPReceiver", "RTPReceiver *|p_RTPReceiver", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_RTPReceiver = {"_p_RTPReceiver", "p_RTPReceiver|RTPReceiver *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_RTPReceiverShared = {"_p_RTPReceiverShared", "p_RTPReceiverShared|RTPReceiverShared *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_TimeService = {"_p_TimeService", "p_TimeService|TimeService *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_TimeService = {"_p_TimeService", "TimeService *|p_TimeService", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_WORD = {"_p_WORD", "WORD *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *", 0, 0, (void*)0, 0}; @@ -5507,14 +5548,14 @@ static swig_cast_info _swigc__p_AudioCodecs[] = { {&_swigt__p_AudioCodecs, 0, 0 static swig_cast_info _swigc__p_AudioDecoderFacade[] = { {&_swigt__p_AudioDecoderFacade, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_AudioDecoderFacadeShared[] = { {&_swigt__p_AudioDecoderFacadeShared, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_AudioEncoderFacade[] = { {&_swigt__p_AudioEncoderFacade, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_AudioInput[] = { {&_swigt__p_AudioPipe, _p_AudioPipeTo_p_AudioInput, 0, 0}, {&_swigt__p_AudioInput, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_AudioOutput[] = { {&_swigt__p_AudioPipe, _p_AudioPipeTo_p_AudioOutput, 0, 0}, {&_swigt__p_AudioOutput, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_AudioInput[] = { {&_swigt__p_AudioInput, 0, 0, 0}, {&_swigt__p_AudioPipe, _p_AudioPipeTo_p_AudioInput, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_AudioOutput[] = { {&_swigt__p_AudioOutput, 0, 0, 0}, {&_swigt__p_AudioPipe, _p_AudioPipeTo_p_AudioOutput, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_AudioPipe[] = { {&_swigt__p_AudioPipe, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_DWORD[] = { {&_swigt__p_DWORD, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_EventLoop[] = { {&_swigt__p_EventLoop, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FrameDispatchCoordinator[] = { {&_swigt__p_FrameDispatchCoordinator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FrameDispatchCoordinatorShared[] = { {&_swigt__p_FrameDispatchCoordinatorShared, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_MediaFrameListener[] = { {&_swigt__p_MediaFrameListener, 0, 0, 0}, {&_swigt__p_MediaFrameListenerBridge, _p_MediaFrameListenerBridgeTo_p_MediaFrameListener, 0, 0}, {&_swigt__p_AudioDecoderFacade, _p_AudioDecoderFacadeTo_p_MediaFrameListener, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_MediaFrameListener[] = { {&_swigt__p_MediaFrameListener, 0, 0, 0}, {&_swigt__p_AudioDecoderFacade, _p_AudioDecoderFacadeTo_p_MediaFrameListener, 0, 0}, {&_swigt__p_MediaFrameListenerBridge, _p_MediaFrameListenerBridgeTo_p_MediaFrameListener, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_MediaFrameListenerBridge[] = { {&_swigt__p_MediaFrameListenerBridge, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_MediaFrameListenerBridgeShared[] = { {&_swigt__p_MediaFrameListenerBridgeShared, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_MediaFrameListenerShared[] = { {&_swigt__p_MediaFrameListenerShared, 0, 0, 0},{0, 0, 0, 0}}; @@ -5526,7 +5567,7 @@ static swig_cast_info _swigc__p_RTPIncomingMediaStream[] = { {&_swigt__p_RTPInc static swig_cast_info _swigc__p_RTPIncomingMediaStreamShared[] = { {&_swigt__p_RTPIncomingMediaStreamShared, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_RTPReceiver[] = { {&_swigt__p_RTPReceiver, 0, 0, 0}, {&_swigt__p_MediaFrameListenerBridge, _p_MediaFrameListenerBridgeTo_p_RTPReceiver, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_RTPReceiverShared[] = { {&_swigt__p_RTPReceiverShared, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_TimeService[] = { {&_swigt__p_EventLoop, _p_EventLoopTo_p_TimeService, 0, 0}, {&_swigt__p_TimeService, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_TimeService[] = { {&_swigt__p_TimeService, 0, 0, 0}, {&_swigt__p_EventLoop, _p_EventLoopTo_p_TimeService, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_WORD[] = { {&_swigt__p_WORD, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_uint32_t[] = { {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};