Struct LLVMUseRef
Simple typesafe handle to wrap a raw pointer for interop with "C" API exported from LibLLVM
Namespace: Llvm.NET.Interop
Assembly: Llvm.NET.dll
Syntax
public struct LLVMUseRef : IEquatable<LLVMUseRef>
Remarks
This handle is owned by it's container and therefore isn't disposed by the calling App.
important
Since the object this handle refers to is not owned by the App, the object is destroyed whenever it's container is destroyed, which will invalidate this handle. Use of this handle after the container is destroyed will produce undefined behavior, including, and most likely, memory access violations.
Properties
Zero | Gets a zero (null) value handle |
Methods
Equals(LLVMUseRef) | Tests another for reference equality |
Equals(Object) | |
GetHashCode() | |
ToIntPtr() | Gets the handle as an IntPtr suitable for passing to native code |
Operators
Equality(LLVMUseRef, LLVMUseRef) | Tests two handles for reference equality |
Implicit(LLVMUseRef to IntPtr) | Gets the handle as an IntPtr suitable for passing to native code |
Inequality(LLVMUseRef, LLVMUseRef) | Tests two handles for reference inequality |