public static void undo(cef_frame_t *self) { undo_delegate d; var p = self->_undo; if (p == _p4) { d = _d4; } else { d = (undo_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(undo_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } d(self); }
public static void undo(cef_frame_t* self) { undo_delegate d; var p = self->_undo; if (p == _p4) { d = _d4; } else { d = (undo_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(undo_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } d(self); }