public static int eof(cef_zip_reader_t *self) { eof_delegate d; var p = self->_eof; if (p == _pe) { d = _de; } else { d = (eof_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(eof_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return(d(self)); }
public static int eof(cef_stream_reader_t* self) { eof_delegate d; var p = self->_eof; if (p == _p6) { d = _d6; } else { d = (eof_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(eof_delegate)); if (_p6 == IntPtr.Zero) { _d6 = d; _p6 = p; } } return d(self); }