public static cef_v8value_t *get_value_byindex(cef_v8value_t *self, int index) { get_value_byindex_delegate d; var p = self->_get_value_byindex; if (p == _p21) { d = _d21; } else { d = (get_value_byindex_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_value_byindex_delegate)); if (_p21 == IntPtr.Zero) { _d21 = d; _p21 = p; } } return(d(self, index)); }
public static cef_v8value_t* get_value_byindex(cef_v8value_t* self, int index) { get_value_byindex_delegate d; var p = self->_get_value_byindex; if (p == _p21) { d = _d21; } else { d = (get_value_byindex_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_value_byindex_delegate)); if (_p21 == IntPtr.Zero) { _d21 = d; _p21 = p; } } return d(self, index); }