Hello Mike,
No problem to post a patch, but it would break perl/python/etc... as
actually there are some functions defined in ESL.i, wouldn't it ?
I don't know about swig, never used that.
Maybe we could have two swig files instead ? one for generating php and
one for the other languages ?
I'm
Hi, I tried the ESL.i modification and when I do make reswig I get:
make -C php reswig
make[1]: Entering directory `/usr/local/src/freeswitch/libs/esl/php'
rm -f esl_wrap.* ESL.so php_ESL.* ESL.php
swig -module ESL -php5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp
../ESL.i
swig error :
If you're removing the newobject lines you're introducing a huge
memory leak :P also I'm guessing your swig is older and doesn't have
php5 support.
/b
On Aug 10, 2009, at 8:39 AM, Nicolas Brenner wrote:
Hi, I tried the ESL.i modification and when I do make reswig I get:
make -C php
Hi,
I'm trying to get started with the ESL using PHP. I compiled the ESL, then
phpmod according to the wiki instructions, but then when I try the examples
in the libs/esl/php dir, they fail saying:
PHP Fatal error: Cannot redeclare ESLconnection::__construct() in
On Fri, Aug 07, 2009 at 06:10:25PM -0400, Nicolas Brenner wrote:
Hi,
I'm trying to get started with the ESL using PHP. I compiled the ESL, then
phpmod according to the wiki instructions, but then when I try the examples
in the libs/esl/php dir, they fail saying:
PHP Fatal error: Cannot