public static cef_string_userfree *get_element_inner_text(cef_domnode_t *self)
        {
            get_element_inner_text_delegate d;
            var p = self->_get_element_inner_text;

            if (p == _p1b)
            {
                d = _d1b;
            }
            else
            {
                d = (get_element_inner_text_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_element_inner_text_delegate));
                if (_p1b == IntPtr.Zero)
                {
                    _d1b = d; _p1b = p;
                }
            }
            return(d(self));
        }
Пример #2
0
 public static cef_string_userfree* get_element_inner_text(cef_domnode_t* self)
 {
     get_element_inner_text_delegate d;
     var p = self->_get_element_inner_text;
     if (p == _p1b) { d = _d1b; }
     else
     {
         d = (get_element_inner_text_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_element_inner_text_delegate));
         if (_p1b == IntPtr.Zero) { _d1b = d; _p1b = p; }
     }
     return d(self);
 }