public static extern IntPtr Expat_GetErrorDescription(ExpatError error);
public static string GetDescription(this ExpatError error) { var ptr = Native.Expat_GetErrorDescription(error); return(Marshal.PtrToStringAnsi(ptr)); }
public static extern IntPtr Expat_GetErrorDescription(ExpatError error);
public static string GetDescription(this ExpatError error) { var ptr = Native.Expat_GetErrorDescription(error); return(Marshal.PtrToStringAnsi(ptr)); }