mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-12 15:21:50 +00:00
change types
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -25,8 +25,8 @@ public class freeswitch {
|
||||
freeswitchJNI.console_clean_log(msg);
|
||||
}
|
||||
|
||||
public static void msleep(SWIGTYPE_p_uint32_t ms) {
|
||||
freeswitchJNI.msleep(SWIGTYPE_p_uint32_t.getCPtr(ms));
|
||||
public static void msleep(long ms) {
|
||||
freeswitchJNI.msleep(ms);
|
||||
}
|
||||
|
||||
public static void bridge(CoreSession session_a, CoreSession session_b) {
|
||||
|
||||
@@ -3033,17 +3033,11 @@ SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_console_1clean_1l
|
||||
|
||||
|
||||
SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_msleep(JNIEnv *jenv, jclass jcls, jlong jarg1) {
|
||||
uint32_t arg1 ;
|
||||
uint32_t *argp1 ;
|
||||
unsigned int arg1 ;
|
||||
|
||||
(void)jenv;
|
||||
(void)jcls;
|
||||
argp1 = *(uint32_t **)&jarg1;
|
||||
if (!argp1) {
|
||||
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "Attempt to dereference null uint32_t");
|
||||
return ;
|
||||
}
|
||||
arg1 = *argp1;
|
||||
arg1 = (unsigned int)jarg1;
|
||||
msleep(arg1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user