Changeset 4558
- Timestamp:
- Jul 11, 2013 6:01:36 AM (11 years ago)
- Location:
- pjproject/branches/projects/jni/pjsip-apps/src/jni
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/jni/pjsip-apps/src/jni/header.i
r4557 r4558 22 22 //%ignore pjsip_transaction::mod_data; 23 23 %apply long long[ANY] { void *[ANY] }; 24 25 /* Map pj_bool_t */ 26 %apply bool { pj_bool_t }; 24 27 25 28 /* Map "int*" & "unsigned*" as input & output */ … … 69 72 /* Global constants */ 70 73 #define PJ_SUCCESS 0 71 #define PJ_TRUE 172 #define PJ_FALSE 073 74 -
pjproject/branches/projects/jni/pjsip-apps/src/jni/hello.java
r4557 r4558 101 101 /* Add local account */ 102 102 { 103 status = pjsua.acc_add_local(tp_id[0], pjsua.PJ_TRUE, acc_id);103 status = pjsua.acc_add_local(tp_id[0], true, acc_id); 104 104 if (status != pjsua.PJ_SUCCESS) { 105 105 pj_error_exit("Error creating local UDP account", status); … … 150 150 151 151 pjsua.pj_pool_release(my_pool); 152 } else if (userInput.equals("d")) { 153 pjsua.dump(false); 154 } else if (userInput.equals("dd")) { 155 pjsua.dump(true); 152 156 } 153 157 } -
pjproject/branches/projects/jni/pjsip-apps/src/jni/my_typemaps.i
r4557 r4558 5 5 6 6 /* Auto destroy JNI object, useful for director */ 7 % inline%{7 %header %{ 8 8 class LocalRefGuard { 9 9 JNIEnv* jenv;
Note: See TracChangeset
for help on using the changeset viewer.