Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
0060313e
提交
0060313e
authored
5月 23, 2013
作者:
Anthony Minessale
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
swig
上级
18ac2a25
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15681 行增加
和
15484 行删除
+15681
-15484
freeswitch_wrap.cxx
src/mod/languages/mod_managed/freeswitch_wrap.cxx
+96
-0
swig.cs
src/mod/languages/mod_managed/managed/swig.cs
+15585
-15484
没有找到文件。
src/mod/languages/mod_managed/freeswitch_wrap.cxx
浏览文件 @
0060313e
...
@@ -2968,6 +2968,74 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_get() {
...
@@ -2968,6 +2968,74 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_get() {
}
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_filenames_conf_name_set(void * jarg1, char * jarg2) {
switch_filenames *arg1 = (switch_filenames *) 0 ;
char *arg2 = (char *) 0 ;
arg1 = (switch_filenames *)jarg1;
arg2 = (char *)jarg2;
{
if (arg1->conf_name) delete [] arg1->conf_name;
if (arg2) {
arg1->conf_name = (char *) (new char[strlen((const char *)arg2)+1]);
strcpy((char *)arg1->conf_name, (const char *)arg2);
} else {
arg1->conf_name = 0;
}
}
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_filenames_conf_name_get(void * jarg1) {
char * jresult ;
switch_filenames *arg1 = (switch_filenames *) 0 ;
char *result = 0 ;
arg1 = (switch_filenames *)jarg1;
result = (char *) ((arg1)->conf_name);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_filenames() {
void * jresult ;
switch_filenames *result = 0 ;
result = (switch_filenames *)new switch_filenames();
jresult = (void *)result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_filenames(void * jarg1) {
switch_filenames *arg1 = (switch_filenames *) 0 ;
arg1 = (switch_filenames *)jarg1;
delete arg1;
}
SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_set(void * jarg1) {
switch_filenames *arg1 = (switch_filenames *) 0 ;
arg1 = (switch_filenames *)jarg1;
SWITCH_GLOBAL_filenames = *arg1;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_get() {
void * jresult ;
switch_filenames *result = 0 ;
result = (switch_filenames *)&SWITCH_GLOBAL_filenames;
jresult = (void *)result;
return jresult;
}
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STACKS_get() {
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STACKS_get() {
int jresult ;
int jresult ;
int result;
int result;
...
@@ -12640,6 +12708,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_stacksizes(void * jarg1, void
...
@@ -12640,6 +12708,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_stacksizes(void * jarg1, void
}
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_gen_encoded_silence(void * jarg1, void * jarg2, void * jarg3) {
unsigned char *arg1 = (unsigned char *) 0 ;
switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ;
switch_size_t arg3 ;
switch_size_t *argp3 ;
arg1 = (unsigned char *)jarg1;
arg2 = (switch_codec_implementation_t *)jarg2;
argp3 = (switch_size_t *)jarg3;
if (!argp3) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
return ;
}
arg3 = *argp3;
switch_core_gen_encoded_silence(arg1,(switch_codec_implementation const *)arg2,arg3);
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_dbtype() {
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_dbtype() {
int jresult ;
int jresult ;
switch_cache_db_handle_type_t result;
switch_cache_db_handle_type_t result;
...
@@ -28385,6 +28471,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_thread_trylock(void * jar
...
@@ -28385,6 +28471,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_thread_trylock(void * jar
}
}
SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_handle_cause(void * jarg1, int jarg2) {
switch_channel_t *arg1 = (switch_channel_t *) 0 ;
switch_call_cause_t arg2 ;
arg1 = (switch_channel_t *)jarg1;
arg2 = (switch_call_cause_t)jarg2;
switch_channel_handle_cause(arg1,arg2);
}
SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) {
SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) {
int jresult ;
int jresult ;
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
src/mod/languages/mod_managed/managed/swig.cs
浏览文件 @
0060313e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论