public static cef_time_t get_end_time(cef_download_item_t *self) { get_end_time_delegate d; var p = self->_get_end_time; if (p == _pc) { d = _dc; } else { d = (get_end_time_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_end_time_delegate)); if (_pc == IntPtr.Zero) { _dc = d; _pc = p; } } return(d(self)); }
public static cef_time_t get_end_time(cef_download_item_t* self) { get_end_time_delegate d; var p = self->_get_end_time; if (p == _pc) { d = _dc; } else { d = (get_end_time_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_end_time_delegate)); if (_pc == IntPtr.Zero) { _dc = d; _pc = p; } } return d(self); }