Fixed python module build error (thanks Jeff Ames)

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1706 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2008-01-18 17:18:55 +00:00
parent 4190cf9e19
commit 429fa1fe56
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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),