internal static string ErrorString(Agl.AglError code) { return(Marshal.PtrToStringAnsi(Agl._aglErrorString(code))); }