mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
ESL adjustments for PHP 7+
This commit is contained in:
5 files changed
+837
-1012
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 3.0.2
|
||||
* Version 3.0.12
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
|
||||
@@ -3,7 +3,7 @@ WRAP_GCC_WARNING_SILENCE=-Wno-unused-label -Wno-unused-function
|
||||
all: ESL.so
|
||||
|
||||
esl_wrap.cpp:
|
||||
swig3.0 -module ESL -php5 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
|
||||
swig3.0 -module ESL -php7 -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i
|
||||
sed -e 's/ char \*type_name;/ const char \*type_name;/' -i esl_wrap.cpp
|
||||
|
||||
esl_wrap.o: esl_wrap.cpp
|
||||
|
||||
+831
-998
File diff suppressed because it is too large.
Load diff
+3
-11
@@ -1,6 +1,6 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 3.0.2
|
||||
* Version 3.0.12
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
@@ -20,16 +20,6 @@ extern zend_module_entry ESL_module_entry;
|
||||
# define PHP_ESL_API
|
||||
#endif
|
||||
|
||||
#ifdef ZTS
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
PHP_MINIT_FUNCTION(ESL);
|
||||
PHP_MSHUTDOWN_FUNCTION(ESL);
|
||||
PHP_RINIT_FUNCTION(ESL);
|
||||
PHP_RSHUTDOWN_FUNCTION(ESL);
|
||||
PHP_MINFO_FUNCTION(ESL);
|
||||
|
||||
ZEND_NAMED_FUNCTION(_wrap_ESLevent_event_set);
|
||||
ZEND_NAMED_FUNCTION(_wrap_ESLevent_event_get);
|
||||
ZEND_NAMED_FUNCTION(_wrap_ESLevent_serialized_string_set);
|
||||
@@ -69,4 +59,6 @@ ZEND_NAMED_FUNCTION(_wrap_ESLconnection_setAsyncExecute);
|
||||
ZEND_NAMED_FUNCTION(_wrap_ESLconnection_setEventLock);
|
||||
ZEND_NAMED_FUNCTION(_wrap_ESLconnection_disconnect);
|
||||
ZEND_NAMED_FUNCTION(_wrap_eslSetLogLevel);
|
||||
PHP_MINIT_FUNCTION(ESL);
|
||||
|
||||
#endif /* PHP_ESL_H */
|
||||
Reference in new issue
Block a user