public static int is_selection_only(cef_print_settings_t *self) { is_selection_only_delegate d; var p = self->_is_selection_only; if (p == _p11) { d = _d11; } else { d = (is_selection_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_selection_only_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return(d(self)); }
public static int is_selection_only(cef_print_settings_t* self) { is_selection_only_delegate d; var p = self->_is_selection_only; if (p == _p11) { d = _d11; } else { d = (is_selection_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_selection_only_delegate)); if (_p11 == IntPtr.Zero) { _d11 = d; _p11 = p; } } return d(self); }