[Freeswitch-svn] [commit] r12116 - in freeswitch/trunk: . src/include src/mod/languages/mod_managed/managed

FreeSWITCH SVN mikej at freeswitch.org
Tue Feb 17 13:41:01 PST 2009


Author: mikej
Date: Tue Feb 17 15:41:01 2009
New Revision: 12116

Log:
swigall

Modified:
   freeswitch/trunk/Makefile.am
   freeswitch/trunk/src/include/switch_cpp.h
   freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Tue Feb 17 15:41:01 2009
@@ -194,7 +194,7 @@
 bin_SCRIPTS = scripts/gentls_cert scripts/fsxs
 
 src/include/switch_swigable_cpp.h: src/include/switch_cpp.h
-	$(CC) -E src/include/switch_cpp.h -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h 
+	$(CC) -E src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2>/dev/null | grep -v "^#" > src/include/switch_swigable_cpp.h 
 
 libs/libedit/src/.libs/libedit.a:
 	cd libs/libedit && $(MAKE)

Modified: freeswitch/trunk/src/include/switch_cpp.h
==============================================================================
--- freeswitch/trunk/src/include/switch_cpp.h	(original)
+++ freeswitch/trunk/src/include/switch_cpp.h	Tue Feb 17 15:41:01 2009
@@ -78,7 +78,7 @@
 SWITCH_DECLARE(void) consoleLog(char *level_str, char *msg);
 SWITCH_DECLARE(void) consoleCleanLog(char *msg);
 
-	 class SWITCH_DECLARE_CLASS CoreSession;
+	 class CoreSession;
 
 	 class IVRMenu {
 	   protected:
@@ -185,7 +185,11 @@
 		 SWITCH_DECLARE(Event *) pop(int block = 0);
 	 };
 
+#ifdef SWIG
+	 class CoreSession {
+#else
 	 class SWITCH_DECLARE_CLASS CoreSession {
+#endif
 	   protected:
 		 switch_input_args_t args;	// holds ptr to cb function and input_callback_state struct
 		 // which has a language specific callback function

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	Tue Feb 17 15:41:01 2009
@@ -11255,6 +11255,36 @@
 using System;
 using System.Runtime.InteropServices;
 
+public class SWIGTYPE_p_CoreSession {
+  private HandleRef swigCPtr;
+
+  internal SWIGTYPE_p_CoreSession(IntPtr cPtr, bool futureUse) {
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  protected SWIGTYPE_p_CoreSession() {
+    swigCPtr = new HandleRef(null, IntPtr.Zero);
+  }
+
+  internal static HandleRef getCPtr(SWIGTYPE_p_CoreSession 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_FILE {
   private HandleRef swigCPtr;
 
@@ -14405,6 +14435,36 @@
 using System;
 using System.Runtime.InteropServices;
 
+public class SWIGTYPE_p_SWITCH_DECLARE_CLASS {
+  private HandleRef swigCPtr;
+
+  internal SWIGTYPE_p_SWITCH_DECLARE_CLASS(IntPtr cPtr, bool futureUse) {
+    swigCPtr = new HandleRef(this, cPtr);
+  }
+
+  protected SWIGTYPE_p_SWITCH_DECLARE_CLASS() {
+    swigCPtr = new HandleRef(null, IntPtr.Zero);
+  }
+
+  internal static HandleRef getCPtr(SWIGTYPE_p_SWITCH_DECLARE_CLASS 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_event_node {
   private HandleRef swigCPtr;
 
@@ -23352,7 +23412,8 @@
   SST_POSTAL_ADDRESS,
   SST_ACCOUNT_NUMBER,
   SST_NAME_SPELLED,
-  SST_NAME_PHONETIC
+  SST_NAME_PHONETIC,
+  SST_SHORT_DATE_TIME
 }
 
 }



More information about the Freeswitch-svn mailing list