public void Dispose(bool disposing) { if(m_bNeedsDisposing && m_handle != null) { Native.DisposeTargetData(m_handle); m_handle = null; } }
public void Dispose(bool disposing) { if (m_bNeedsDisposing && m_handle != null) { Native.DisposeTargetData(m_handle); m_handle = null; } }
public static TargetData Create(string triple) { LLVMTargetDataRef *handle = Native.CreateTargetData(triple); if (handle == null) { return(null); } return(new TargetData(handle, true)); }
public TargetData(LLVMTargetDataRef* handle, bool needsDisposing) { m_handle = handle; m_bNeedsDisposing = needsDisposing; }
public TargetData(LLVMTargetDataRef *handle, bool needsDisposing) { m_handle = handle; m_bNeedsDisposing = needsDisposing; }