Changeset 5392 for pjproject/trunk/pjsip-apps/src/swig/pjsua2.i
- Timestamp:
- Jul 20, 2016 6:55:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/pjsua2.i
r5165 r5392 115 115 %template(CodecFmtpVector) std::vector<pj::CodecFmtp>; 116 116 117 %ignore pj::WindowHandle::display; 118 %ignore pj::WindowHandle::window; 119 117 120 /* pj::WindowHandle::setWindow() receives Surface object */ 118 121 #if defined(SWIGJAVA) && defined(__ANDROID__) … … 124 127 #endif 125 128 %} 126 %ignore pj::WindowHandle::display;127 %ignore pj::WindowHandle::window;128 129 %typemap(in) jobject surface { 129 130 $1 = ($input? (jobject)ANativeWindow_fromSurface(jenv, $input): NULL); … … 131 132 %extend pj::WindowHandle { 132 133 void setWindow(jobject surface) { $self->window = surface; } 134 } 135 #else 136 %extend pj::WindowHandle { 137 void setWindow(long long hwnd) { $self->window = (void*)hwnd; } 133 138 } 134 139 #endif
Note: See TracChangeset
for help on using the changeset viewer.