public static int get_array_length(cef_v8value_t *self) { get_array_length_delegate d; var p = self->_get_array_length; if (p == _p2a) { d = _d2a; } else { d = (get_array_length_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_array_length_delegate)); if (_p2a == IntPtr.Zero) { _d2a = d; _p2a = p; } } return(d(self)); }
public static int get_array_length(cef_v8value_t* self) { get_array_length_delegate d; var p = self->_get_array_length; if (p == _p2a) { d = _d2a; } else { d = (get_array_length_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_array_length_delegate)); if (_p2a == IntPtr.Zero) { _d2a = d; _p2a = p; } } return d(self); }