]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
swigall
authorMichael Jerris <mike@jerris.com>
Tue, 17 Feb 2009 21:41:01 +0000 (21:41 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 17 Feb 2009 21:41:01 +0000 (21:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12116 d0543943-73ff-0310-b7d9-9358b9ac24b2

Makefile.am
src/include/switch_cpp.h
src/mod/languages/mod_managed/managed/swig.cs

index 9ebbf89cf75554bbcd2beffbe96d883e998e8b7f..4bb49d764050b64e81e49e86d0395aa39d3fba55 100644 (file)
@@ -194,7 +194,7 @@ endif
 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)
index 30c005a30423f31515b2169e5882c948300961b7..15332839f089fabad81a14438e836813a0c59f45 100644 (file)
@@ -78,7 +78,7 @@ Note that the first parameter to the new operator is implicitly handled by c++..
 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(void) consoleCleanLog(char *msg);
                 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
index 2960673dcc70678fd5b09eaf72ea871118b692fb..7eda6618afd8f59c772d114b0a380c69aa30bde7 100644 (file)
@@ -11255,6 +11255,36 @@ namespace FreeSWITCH.Native {
 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 @@ namespace FreeSWITCH.Native {
 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 @@ public enum switch_say_type_t {
   SST_POSTAL_ADDRESS,
   SST_ACCOUNT_NUMBER,
   SST_NAME_SPELLED,
-  SST_NAME_PHONETIC
+  SST_NAME_PHONETIC,
+  SST_SHORT_DATE_TIME
 }
 
 }