Revision
14497
Author
gled
Date
2009-08-12 09:43:21 -0500 (Wed, 12 Aug 2009)

Log Message

thanks stkn, won't break other langages...

Modified Paths

Diff

Modified: freeswitch/trunk/contrib/gled/patches/esl_php.txt (14496 => 14497)


--- freeswitch/trunk/contrib/gled/patches/esl_php.txt	2009-08-12 12:45:59 UTC (rev 14496)
+++ freeswitch/trunk/contrib/gled/patches/esl_php.txt	2009-08-12 14:43:21 UTC (rev 14497)
@@ -1,18 +1,12 @@
 Index: libs/esl/ESL.i
 ===================================================================
---- libs/esl/ESL.i      (r?vision 14495)
+--- libs/esl/ESL.i      (r\xE9vision 14495)
 +++ libs/esl/ESL.i      (copie de travail)
-@@ -3,12 +3,12 @@
+@@ -3,6 +3,15 @@
  #include "esl_oop.h"
  %}
 
--%newobject ESLconnection::sendRecv;
--%newobject ESLconnection::api;
--%newobject ESLconnection::bgapi;
--%newobject ESLconnection::getInfo;
--%newobject ESLconnection::filter;
--%newobject ESLconnection::recvEvent;
--%newobject ESLconnection::recvEventTimed;
++#ifdef SWIGPHP
 +%newobject ESLconnection::sendRecv();
 +%newobject ESLconnection::api();
 +%newobject ESLconnection::bgapi();
@@ -20,5 +14,15 @@
 +%newobject ESLconnection::filter();
 +%newobject ::recvEvent();
 +%newobject ESLconnection::recvEventTimed();
++#else
+ %newobject ESLconnection::sendRecv;
+ %newobject ESLconnection::api;
+ %newobject ESLconnection::bgapi;
+@@ -10,5 +19,6 @@
+ %newobject ESLconnection::filter;
+ %newobject ESLconnection::recvEvent;
+ %newobject ESLconnection::recvEventTimed;
++#endif
 
  %include "esl_oop.h"
+