private AprTimeExp(apr_time_exp_t *ptr) { mTimeExp = ptr; }
public AprTimeExp(out GCHandle handle) { handle = GCHandle.Alloc(new apr_time_exp_t(),GCHandleType.Pinned); mTimeExp = (apr_time_exp_t *)handle.AddrOfPinnedObject().ToPointer(); }
public AprTimeExp(IntPtr ptr) { mTimeExp = (apr_time_exp_t *)ptr.ToPointer(); }
public void ClearPtr() { mTimeExp = null; }
public AprTimeExp(out GCHandle handle) { handle = GCHandle.Alloc(new apr_time_exp_t(), GCHandleType.Pinned); mTimeExp = (apr_time_exp_t *)handle.AddrOfPinnedObject().ToPointer(); }