[Freeswitch-svn] [commit] r10217 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed
Freeswitch SVN
anthm at freeswitch.org
Sat Nov 1 22:10:02 EDT 2008
Author: anthm
Date: Sat Nov 1 22:10:01 2008
New Revision: 10217
Modified:
freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
Log:
swigall
Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx (original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx Sat Nov 1 22:10:01 2008
@@ -7100,19 +7100,49 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) {
int jresult ;
char *arg1 = (char *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
size_t arg4 ;
+ switch_time_t arg5 ;
switch_status_t result;
+ switch_time_t *argp5 ;
arg1 = (char *)jarg1;
arg2 = (char *)jarg2;
arg3 = (char *)jarg3;
arg4 = (size_t)jarg4;
- result = (switch_status_t)switch_strftime_tz((char const *)arg1,(char const *)arg2,arg3,arg4);
+ argp5 = (switch_time_t *)jarg5;
+ if (!argp5) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return 0;
+ }
+ arg5 = *argp5;
+ result = (switch_status_t)switch_strftime_tz((char const *)arg1,(char const *)arg2,arg3,arg4,arg5);
+ jresult = result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_time_exp_tz_name(char * jarg1, void * jarg2, void * jarg3) {
+ int jresult ;
+ char *arg1 = (char *) 0 ;
+ switch_time_exp_t *arg2 = (switch_time_exp_t *) 0 ;
+ switch_time_t arg3 ;
+ switch_status_t result;
+ switch_time_t *argp3 ;
+
+ arg1 = (char *)jarg1;
+ arg2 = (switch_time_exp_t *)jarg2;
+ argp3 = (switch_time_t *)jarg3;
+ if (!argp3) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0);
+ return 0;
+ }
+ arg3 = *argp3;
+ result = (switch_status_t)switch_time_exp_tz_name((char const *)arg1,arg2,arg3);
jresult = result;
return jresult;
}
Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs Sat Nov 1 22:10:01 2008
@@ -1849,8 +1849,15 @@
return ret;
}
- public static switch_status_t switch_strftime_tz(string tz, string format, string date, uint len) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_strftime_tz(tz, format, date, len);
+ public static switch_status_t switch_strftime_tz(string tz, string format, string date, uint len, SWIGTYPE_p_switch_time_t thetime) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_strftime_tz(tz, format, date, len, SWIGTYPE_p_switch_time_t.getCPtr(thetime));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ public static switch_status_t switch_time_exp_tz_name(string tz, SWIGTYPE_p_switch_time_exp_t tm, SWIGTYPE_p_switch_time_t thetime) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_time_exp_tz_name(tz, SWIGTYPE_p_switch_time_exp_t.getCPtr(tm), SWIGTYPE_p_switch_time_t.getCPtr(thetime));
+ if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
@@ -5793,7 +5800,10 @@
public static extern IntPtr switch_timestamp(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_strftime_tz")]
- public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4);
+ public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, HandleRef jarg5);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_time_exp_tz_name")]
+ public static extern int switch_time_exp_tz_name(string jarg1, HandleRef jarg2, HandleRef jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_load_network_lists")]
public static extern void switch_load_network_lists(int jarg1);
@@ -14240,6 +14250,36 @@
using System;
using System.Runtime.InteropServices;
+public class SWIGTYPE_p_switch_time_exp_t {
+ private HandleRef swigCPtr;
+
+ internal SWIGTYPE_p_switch_time_exp_t(IntPtr cPtr, bool futureUse) {
+ swigCPtr = new HandleRef(this, cPtr);
+ }
+
+ protected SWIGTYPE_p_switch_time_exp_t() {
+ swigCPtr = new HandleRef(null, IntPtr.Zero);
+ }
+
+ internal static HandleRef getCPtr(SWIGTYPE_p_switch_time_exp_t 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_switch_time_t {
private HandleRef swigCPtr;
More information about the Freeswitch-svn
mailing list