public static int is_function(cef_v8value_t *self) { is_function_delegate d; var p = self->_is_function; if (p == _pe) { d = _de; } else { d = (is_function_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_function_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return(d(self)); }
public static int is_function(cef_v8value_t* self) { is_function_delegate d; var p = self->_is_function; if (p == _pe) { d = _de; } else { d = (is_function_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_function_delegate)); if (_pe == IntPtr.Zero) { _de = d; _pe = p; } } return d(self); }