summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/py_pjsua
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/py_pjsua')
-rw-r--r--pjsip-apps/src/py_pjsua/py_pjsua.c2
-rw-r--r--pjsip-apps/src/py_pjsua/setup.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/pjsip-apps/src/py_pjsua/py_pjsua.c b/pjsip-apps/src/py_pjsua/py_pjsua.c
index b1abbdad..22814245 100644
--- a/pjsip-apps/src/py_pjsua/py_pjsua.c
+++ b/pjsip-apps/src/py_pjsua/py_pjsua.c
@@ -35,7 +35,7 @@ static long thread_id;
* cb_log_cb
* declares method for reconfiguring logging process for callback struct
*/
-static void cb_log_cb(int level, const char *data, pj_size_t len)
+static void cb_log_cb(int level, const char *data, int len)
{
/* Ignore if this callback is called from alien thread context,
diff --git a/pjsip-apps/src/py_pjsua/setup.py b/pjsip-apps/src/py_pjsua/setup.py
index 590159c7..936ed0a1 100644
--- a/pjsip-apps/src/py_pjsua/setup.py
+++ b/pjsip-apps/src/py_pjsua/setup.py
@@ -22,10 +22,11 @@ for line in f:
pj_libs.append(line.rstrip("\r\n"))
f.close()
-setup(name="py_pjsua", version="0.7",
+setup(name="py_pjsua", version="0.8",
ext_modules = [
Extension("py_pjsua",
["py_pjsua.c"],
+ define_macros=[('PJ_AUTOCONF', '1'),],
include_dirs=pj_inc_dirs,
library_dirs=pj_lib_dirs,
libraries=pj_libs),