Changeset 5030 for pjproject/trunk/pjsip-apps/src/pjsua/android/jni/pjsua.i
- Timestamp:
- Mar 26, 2015 10:06:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/android/jni/pjsua.i
r5014 r5030 5 5 #include "../../pjsua_app.h" 6 6 #include <android/native_window_jni.h> 7 8 #ifdef __cplusplus9 extern "C" {10 #endif11 int pjsuaStart();12 void pjsuaDestroy();13 int pjsuaRestart();14 void setCallbackObject(PjsuaAppCallback* callback);15 #ifdef __cplusplus16 }17 #endif18 7 %} 19 8 … … 23 12 /* Convert Surface object to ANativeWindow for setIncomingVideoRenderer() */ 24 13 %typemap(in) jobject surface { 25 $1 = (jobject)ANativeWindow_fromSurface(jenv, $input);14 $1 = $input? (jobject)ANativeWindow_fromSurface(jenv, $input) : NULL; 26 15 } 27 16
Note: See TracChangeset
for help on using the changeset viewer.