public static int set_user_data(cef_v8value_t *self, cef_base_t *user_data) { set_user_data_delegate d; var p = self->_set_user_data; if (p == _p26) { d = _d26; } else { d = (set_user_data_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_user_data_delegate)); if (_p26 == IntPtr.Zero) { _d26 = d; _p26 = p; } } return(d(self, user_data)); }
public static int set_user_data(cef_v8value_t* self, cef_base_t* user_data) { set_user_data_delegate d; var p = self->_set_user_data; if (p == _p26) { d = _d26; } else { d = (set_user_data_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_user_data_delegate)); if (_p26 == IntPtr.Zero) { _d26 = d; _p26 = p; } } return d(self, user_data); }