FreeSWITCH.Native.freeswitch.switch_core_perform_alloc C# (CSharp) Method

switch_core_perform_alloc() public static method

public static switch_core_perform_alloc ( SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_switch_size_t memory, string file, string func, int line ) : SWIGTYPE_p_void
pool SWIGTYPE_p_apr_pool_t
memory SWIGTYPE_p_switch_size_t
file string
func string
line int
return SWIGTYPE_p_void
        public static SWIGTYPE_p_void switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_switch_size_t memory, string file, string func, int line)
        {
            IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line);
            SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
            if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
            return ret;
        }
freeswitch