public static long get_file_size(cef_zip_reader_t *self) { get_file_size_delegate d; var p = self->_get_file_size; if (p == _p8) { d = _d8; } else { d = (get_file_size_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_file_size_delegate)); if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; } } return(d(self)); }
public static long get_file_size(cef_zip_reader_t* self) { get_file_size_delegate d; var p = self->_get_file_size; if (p == _p8) { d = _d8; } else { d = (get_file_size_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_file_size_delegate)); if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; } } return d(self); }