public static void reset_file_contents(cef_drag_data_t *self) { reset_file_contents_delegate d; var p = self->_reset_file_contents; if (p == _p17) { d = _d17; } else { d = (reset_file_contents_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(reset_file_contents_delegate)); if (_p17 == IntPtr.Zero) { _d17 = d; _p17 = p; } } d(self); }
public static void reset_file_contents(cef_drag_data_t* self) { reset_file_contents_delegate d; var p = self->_reset_file_contents; if (p == _p17) { d = _d17; } else { d = (reset_file_contents_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(reset_file_contents_delegate)); if (_p17 == IntPtr.Zero) { _d17 = d; _p17 = p; } } d(self); }