Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
93691c60
Unverified
提交
93691c60
authored
10月 12, 2019
作者:
Andrey Volk
提交者:
GitHub
10月 12, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #32 from cdosoftei/php7-esl
ESL adjustments for PHP 7+
上级
8a80e3ad
d60193c1
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
837 行增加
和
1012 行删除
+837
-1012
configure.ac
configure.ac
+1
-1
ESL.php
libs/esl/php/ESL.php
+1
-1
Makefile.am
libs/esl/php/Makefile.am
+1
-1
esl_wrap.cpp
libs/esl/php/esl_wrap.cpp
+831
-998
php_ESL.h
libs/esl/php/php_ESL.h
+3
-11
没有找到文件。
configure.ac
浏览文件 @
93691c60
...
...
@@ -1661,7 +1661,7 @@ if test "x$ac_cv_have_php" != "xno" -a "x$ac_cv_have_php_config" != "xno"; then
PHP=php
PHP_CONFIG=php-config
PHP_LDFLAGS="`$PHP_CONFIG --ldflags`"
PHP_LIBS="`$PHP_CONFIG --libs | sed -r 's/ ?-l(bz2|pcre
|xml2|gssapi_krb5|krb5|k5crypto|com_err|history|z|readline|gmp|ssl|crypto
)//g'`"
PHP_LIBS="`$PHP_CONFIG --libs | sed -r 's/ ?-l(bz2|pcre
2-8|xml2|gssapi_krb5|krb5|k5crypto|com_err|history|z|readline|gmp|ssl|crypto|argon2|sodium
)//g'`"
PHP_EXT_DIR="`$PHP_CONFIG --extension-dir`"
PHP_INC_DIR="`$PHP -r 'echo ini_get("include_path");' | cut -d: -f2`"
PHP_INI_DIR="`$PHP_CONFIG --configure-options | tr " " "\n" | grep -- --with-config-file-scan-dir | cut -f2 -d=`"
...
...
libs/esl/php/ESL.php
浏览文件 @
93691c60
...
...
@@ -2,7 +2,7 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
* Version 3.0.
1
2
*
* 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
...
...
libs/esl/php/Makefile.am
浏览文件 @
93691c60
...
...
@@ -3,7 +3,7 @@ WRAP_GCC_WARNING_SILENCE=-Wno-unused-label -Wno-unused-function
all
:
ESL.so
esl_wrap.cpp
:
swig3.0
-module
ESL
-php
5
-c
++
-DMULTIPLICITY
-I
../src/include
-o
esl_wrap.cpp ../ESL.i
swig3.0
-module
ESL
-php
7
-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
...
...
libs/esl/php/esl_wrap.cpp
浏览文件 @
93691c60
This source diff could not be displayed because it is too large. You can
view the blob
instead.
libs/esl/php/php_ESL.h
浏览文件 @
93691c60
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
* Version 3.0.
1
2
*
* 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 */
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论