public static int has_post_data(cef_navigation_entry_t *self)
        {
            has_post_data_delegate d;
            var p = self->_has_post_data;

            if (p == _p9)
            {
                d = _d9;
            }
            else
            {
                d = (has_post_data_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_post_data_delegate));
                if (_p9 == IntPtr.Zero)
                {
                    _d9 = d; _p9 = p;
                }
            }
            return(d(self));
        }
Esempio n. 2
0
 public static int has_post_data(cef_navigation_entry_t* self)
 {
     has_post_data_delegate d;
     var p = self->_has_post_data;
     if (p == _p9) { d = _d9; }
     else
     {
         d = (has_post_data_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_post_data_delegate));
         if (_p9 == IntPtr.Zero) { _d9 = d; _p9 = p; }
     }
     return d(self);
 }