git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15898 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-12-11 02:50:51 +00:00
parent 8fc64089f3
commit be1f9c40bc
3 changed files with 3 additions and 95 deletions

View File

@ -6112,28 +6112,6 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_sprintf(void * jarg1, c
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_vsprintf(void * jarg1, char * jarg2, void * jarg3) {
char * jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
char *arg2 = (char *) 0 ;
va_list arg3 ;
char *result = 0 ;
va_list *argp3 ;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (char *)jarg2;
argp3 = (va_list *)jarg3;
if (!argp3) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null va_list", 0);
return 0;
}
arg3 = *argp3;
result = (char *)switch_core_session_vsprintf(arg1,(char const *)arg2,arg3);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_sprintf(void * jarg1, char * jarg2) {
char * jresult ;
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
@ -6149,28 +6127,6 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_sprintf(void * jarg1, char * ja
}
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_vsprintf(void * jarg1, char * jarg2, void * jarg3) {
char * jresult ;
switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ;
char *arg2 = (char *) 0 ;
va_list arg3 ;
char *result = 0 ;
va_list *argp3 ;
arg1 = (switch_memory_pool_t *)jarg1;
arg2 = (char *)jarg2;
argp3 = (va_list *)jarg3;
if (!argp3) {
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null va_list", 0);
return 0;
}
arg3 = *argp3;
result = (char *)switch_core_vsprintf(arg1,(char const *)arg2,arg3);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_pool(void * jarg1) {
void * jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;

View File

@ -1148,23 +1148,11 @@ public class freeswitch {
return ret;
}
public static string switch_core_session_vsprintf(SWIGTYPE_p_switch_core_session session, string fmt, SWIGTYPE_p_va_list ap) {
string ret = freeswitchPINVOKE.switch_core_session_vsprintf(SWIGTYPE_p_switch_core_session.getCPtr(session), fmt, SWIGTYPE_p_va_list.getCPtr(ap));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static string switch_core_sprintf(SWIGTYPE_p_apr_pool_t pool, string fmt) {
string ret = freeswitchPINVOKE.switch_core_sprintf(SWIGTYPE_p_apr_pool_t.getCPtr(pool), fmt);
return ret;
}
public static string switch_core_vsprintf(SWIGTYPE_p_apr_pool_t pool, string fmt, SWIGTYPE_p_va_list ap) {
string ret = freeswitchPINVOKE.switch_core_vsprintf(SWIGTYPE_p_apr_pool_t.getCPtr(pool), fmt, SWIGTYPE_p_va_list.getCPtr(ap));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static SWIGTYPE_p_apr_pool_t switch_core_session_get_pool(SWIGTYPE_p_switch_core_session session) {
IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_pool(SWIGTYPE_p_switch_core_session.getCPtr(session));
SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false);
@ -6317,15 +6305,9 @@ class freeswitchPINVOKE {
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sprintf")]
public static extern string switch_core_session_sprintf(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_vsprintf")]
public static extern string switch_core_session_vsprintf(HandleRef jarg1, string jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_sprintf")]
public static extern string switch_core_sprintf(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_vsprintf")]
public static extern string switch_core_vsprintf(HandleRef jarg1, string jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_pool")]
public static extern IntPtr switch_core_session_get_pool(HandleRef jarg1);
@ -16694,36 +16676,6 @@ namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_va_list {
private HandleRef swigCPtr;
internal SWIGTYPE_p_va_list(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
protected SWIGTYPE_p_va_list() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
internal static HandleRef getCPtr(SWIGTYPE_p_va_list obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.35
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace FreeSWITCH.Native {
using System;
using System.Runtime.InteropServices;
public class SWIGTYPE_p_void {
private HandleRef swigCPtr;

View File

@ -12073,17 +12073,17 @@ XS(SWIG_init) {
SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu");
SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API");
SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t");
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK)));
SvREADONLY_on(sv);