public static GetName ( LLVMValueRef value ) : string | ||
value | LLVMValueRef | |
return | string |
public static string GetName(LLVMValueRef* value)
{
if(value == null)
throw new ArgumentNullException("value");
IntPtr name = Native.GetValueName(value);
if(name == null)
return null;
return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(name);
}
public Function(LLVMValueRef *handle) : this(Value.GetName(handle), handle) { }