From: Anthony Minessale Date: Mon, 23 Dec 2013 17:43:06 +0000 (+0500) Subject: FS-6061 --resolve X-Git-Tag: v1.4.2~2^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af72288d15ef6773bd8bc04bb867dd532b2d256;p=thirdparty%2Ffreeswitch.git FS-6061 --resolve --- diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index 27d6dc68b6..85fc978a6f 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -1306,7 +1306,7 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers, char *body, char return false; } -SWITCH_DECLARE(void) msleep(unsigned ms) +SWITCH_DECLARE(void) switch_msleep(unsigned ms) { switch_sleep(ms * 1000); return; diff --git a/swig_common.i b/swig_common.i index 617b97551a..d64642027a 100644 --- a/swig_common.i +++ b/swig_common.i @@ -1,2 +1,7 @@ %typemap(newfree) char * "free($1);"; %newobject getGlobalVariable; +%rename(msleep) switch_msleep; + + + +