public static cef_time_t get_start_time(cef_download_item_t *self) { get_start_time_delegate d; var p = self->_get_start_time; if (p == _pb) { d = _db; } else { d = (get_start_time_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_start_time_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return(d(self)); }
public static cef_time_t get_start_time(cef_download_item_t* self) { get_start_time_delegate d; var p = self->_get_start_time; if (p == _pb) { d = _db; } else { d = (get_start_time_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_start_time_delegate)); if (_pb == IntPtr.Zero) { _db = d; _pb = p; } } return d(self); }