public static int has_error(cef_xml_reader_t *self) { has_error_delegate d; var p = self->_has_error; if (p == _p5) { d = _d5; } else { d = (has_error_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_error_delegate)); if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; } } return(d(self)); }
public static int has_error(cef_xml_reader_t* self) { has_error_delegate d; var p = self->_has_error; if (p == _p5) { d = _d5; } else { d = (has_error_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_error_delegate)); if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; } } return d(self); }