Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
73684796
提交
73684796
authored
3月 14, 2016
作者:
Artur Kraev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig
上级
d46f77ad
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19059 行增加
和
18912 行删除
+19059
-18912
freeswitch_wrap.cxx
src/mod/languages/mod_managed/freeswitch_wrap.cxx
+1
-1
swig.cs
src/mod/languages/mod_managed/managed/swig.cs
+19047
-18911
switch_platform.i
src/mod/languages/mod_managed/switch_platform.i
+11
-0
没有找到文件。
src/mod/languages/mod_managed/freeswitch_wrap.cxx
浏览文件 @
73684796
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
2
* Version 2.0.1
1
*
* 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
src/mod/languages/mod_managed/managed/swig.cs
浏览文件 @
73684796
差异被折叠。
点击展开。
src/mod/languages/mod_managed/switch_platform.i
浏览文件 @
73684796
...
...
@@ -29,6 +29,17 @@ typedef unsigned long in_addr_t;
}
%}
// const char ** -> out string
%typemap(imtype, out="string") const char ** "ref global::System.IntPtr"
%typemap(cstype, out="string") const char ** "out string"
%typemap(csin,
pre="var $csinput_ptr = global::System.IntPtr.Zero;",
post="if($csinput_ptr != global::System.IntPtr.Zero)\n"
"\t$csinput = global::System.Runtime.InteropServices.Marshal.PtrToStringAnsi($csinput_ptr);\n"
"else\n"
"\t$csinput = null;"
) const char ** "ref $csinput_ptr"
%newobject EventConsumer::pop;
%newobject Session;
%newobject CoreSession;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论