public static int close(cef_xml_reader_t *self) { close_delegate d; var p = self->_close; if (p == _p4) { d = _d4; } else { d = (close_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(close_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } return(d(self)); }
public static int close(cef_zip_reader_t* self) { close_delegate d; var p = self->_close; if (p == _p6) { d = _d6; } else { d = (close_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(close_delegate)); if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; } } return d(self); }