コード例 #1
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static SWIGTYPE_p_void switch_loadable_module_create_interface(switch_loadable_module_interface mod, switch_module_interface_name_t iname)
 {
     IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_interface(switch_loadable_module_interface.getCPtr(mod), (int)iname);
     SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
     return ret;
 }
コード例 #2
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 internal static HandleRef getCPtr(switch_loadable_module_interface obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }