change types

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10502 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2008-11-21 19:15:47 +00:00
parent fc74613246
commit 6ea577d747
8 changed files with 30 additions and 54 deletions
@@ -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);
}