public static void set_selection_only(cef_print_settings_t *self, int selection_only)
        {
            set_selection_only_delegate d;
            var p = self->_set_selection_only;

            if (p == _p10)
            {
                d = _d10;
            }
            else
            {
                d = (set_selection_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_selection_only_delegate));
                if (_p10 == IntPtr.Zero)
                {
                    _d10 = d; _p10 = p;
                }
            }
            d(self, selection_only);
        }
 public static void set_selection_only(cef_print_settings_t* self, int selection_only)
 {
     set_selection_only_delegate d;
     var p = self->_set_selection_only;
     if (p == _p10) { d = _d10; }
     else
     {
         d = (set_selection_only_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_selection_only_delegate));
         if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; }
     }
     d(self, selection_only);
 }