public static int get_status(cef_response_t *self) { get_status_delegate d; var p = self->_get_status; if (p == _p7) { d = _d7; } else { d = (get_status_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_status_delegate)); if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; } } return(d(self)); }
public static int get_status(cef_response_t* self) { get_status_delegate d; var p = self->_get_status; if (p == _p4) { d = _d4; } else { d = (get_status_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_status_delegate)); if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; } } return d(self); }