public static int set_value_byaccessor(cef_v8value_t *self, cef_string_t *key, CefV8AccessControl settings, CefV8PropertyAttribute attribute) { set_value_byaccessor_delegate d; var p = self->_set_value_byaccessor; if (p == _p24) { d = _d24; } else { d = (set_value_byaccessor_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_value_byaccessor_delegate)); if (_p24 == IntPtr.Zero) { _d24 = d; _p24 = p; } } return(d(self, key, settings, attribute)); }
public static int set_value_byaccessor(cef_v8value_t* self, cef_string_t* key, CefV8AccessControl settings, CefV8PropertyAttribute attribute) { set_value_byaccessor_delegate d; var p = self->_set_value_byaccessor; if (p == _p24) { d = _d24; } else { d = (set_value_byaccessor_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_value_byaccessor_delegate)); if (_p24 == IntPtr.Zero) { _d24 = d; _p24 = p; } } return d(self, key, settings, attribute); }