Esempio n. 1
0
 public static int release(cef_xml_reader_t* self)
 {
     release_delegate d;
     var p = self->_base._release;
     if (p == _p1) { d = _d1; }
     else
     {
         d = (release_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(release_delegate));
         if (_p1 == IntPtr.Zero) { _d1 = d; _p1 = p; }
     }
     return d(self);
 }
Esempio n. 2
0
 public static cef_string_userfree* get_attribute_byindex(cef_xml_reader_t* self, int index)
 {
     get_attribute_byindex_delegate d;
     var p = self->_get_attribute_byindex;
     if (p == _p14) { d = _d14; }
     else
     {
         d = (get_attribute_byindex_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_attribute_byindex_delegate));
         if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; }
     }
     return d(self, index);
 }
Esempio n. 3
0
 public static int move_to_carrying_element(cef_xml_reader_t* self)
 {
     move_to_carrying_element_delegate d;
     var p = self->_move_to_carrying_element;
     if (p == _p1f) { d = _d1f; }
     else
     {
         d = (move_to_carrying_element_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_carrying_element_delegate));
         if (_p1f == IntPtr.Zero) { _d1f = d; _p1f = p; }
     }
     return d(self);
 }
Esempio n. 4
0
 internal static CefXmlReader FromNativeOrNull(cef_xml_reader_t* ptr)
 {
     if (ptr == null) return null;
     return new CefXmlReader(ptr);
 }
Esempio n. 5
0
 public static int move_to_attribute_byindex(cef_xml_reader_t* self, int index)
 {
     move_to_attribute_byindex_delegate d;
     var p = self->_move_to_attribute_byindex;
     if (p == _p1a) { d = _d1a; }
     else
     {
         d = (move_to_attribute_byindex_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_attribute_byindex_delegate));
         if (_p1a == IntPtr.Zero) { _d1a = d; _p1a = p; }
     }
     return d(self, index);
 }
Esempio n. 6
0
 public static int move_to_attribute_bylname(cef_xml_reader_t* self, cef_string_t* localName, cef_string_t* namespaceURI)
 {
     move_to_attribute_bylname_delegate d;
     var p = self->_move_to_attribute_bylname;
     if (p == _p1c) { d = _d1c; }
     else
     {
         d = (move_to_attribute_bylname_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_attribute_bylname_delegate));
         if (_p1c == IntPtr.Zero) { _d1c = d; _p1c = p; }
     }
     return d(self, localName, namespaceURI);
 }
Esempio n. 7
0
 public static cef_string_userfree* get_prefix(cef_xml_reader_t* self)
 {
     get_prefix_delegate d;
     var p = self->_get_prefix;
     if (p == _pa) { d = _da; }
     else
     {
         d = (get_prefix_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_prefix_delegate));
         if (_pa == IntPtr.Zero) { _da = d; _pa = p; }
     }
     return d(self);
 }
Esempio n. 8
0
 public static cef_string_userfree* get_outer_xml(cef_xml_reader_t* self)
 {
     get_outer_xml_delegate d;
     var p = self->_get_outer_xml;
     if (p == _p18) { d = _d18; }
     else
     {
         d = (get_outer_xml_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_outer_xml_delegate));
         if (_p18 == IntPtr.Zero) { _d18 = d; _p18 = p; }
     }
     return d(self);
 }
Esempio n. 9
0
 public static CefXmlNodeType get_type(cef_xml_reader_t* self)
 {
     get_type_delegate d;
     var p = self->_get_type;
     if (p == _p7) { d = _d7; }
     else
     {
         d = (get_type_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_type_delegate));
         if (_p7 == IntPtr.Zero) { _d7 = d; _p7 = p; }
     }
     return d(self);
 }
Esempio n. 10
0
 public static int get_depth(cef_xml_reader_t* self)
 {
     get_depth_delegate d;
     var p = self->_get_depth;
     if (p == _p8) { d = _d8; }
     else
     {
         d = (get_depth_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_depth_delegate));
         if (_p8 == IntPtr.Zero) { _d8 = d; _p8 = p; }
     }
     return d(self);
 }
Esempio n. 11
0
 public static int has_error(cef_xml_reader_t* self)
 {
     has_error_delegate d;
     var p = self->_has_error;
     if (p == _p5) { d = _d5; }
     else
     {
         d = (has_error_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_error_delegate));
         if (_p5 == IntPtr.Zero) { _d5 = d; _p5 = p; }
     }
     return d(self);
 }
Esempio n. 12
0
 public static int close(cef_xml_reader_t* self)
 {
     close_delegate d;
     var p = self->_close;
     if (p == _p4) { d = _d4; }
     else
     {
         d = (close_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(close_delegate));
         if (_p4 == IntPtr.Zero) { _d4 = d; _p4 = p; }
     }
     return d(self);
 }
Esempio n. 13
0
 public static int has_one_ref(cef_xml_reader_t* self)
 {
     has_one_ref_delegate d;
     var p = self->_base._has_one_ref;
     if (p == _p2) { d = _d2; }
     else
     {
         d = (has_one_ref_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_one_ref_delegate));
         if (_p2 == IntPtr.Zero) { _d2 = d; _p2 = p; }
     }
     return d(self);
 }
Esempio n. 14
0
 public static cef_string_userfree* get_attribute_byqname(cef_xml_reader_t* self, cef_string_t* qualifiedName)
 {
     get_attribute_byqname_delegate d;
     var p = self->_get_attribute_byqname;
     if (p == _p15) { d = _d15; }
     else
     {
         d = (get_attribute_byqname_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_attribute_byqname_delegate));
         if (_p15 == IntPtr.Zero) { _d15 = d; _p15 = p; }
     }
     return d(self, qualifiedName);
 }
Esempio n. 15
0
 public static cef_string_userfree* get_qualified_name(cef_xml_reader_t* self)
 {
     get_qualified_name_delegate d;
     var p = self->_get_qualified_name;
     if (p == _pb) { d = _db; }
     else
     {
         d = (get_qualified_name_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_qualified_name_delegate));
         if (_pb == IntPtr.Zero) { _db = d; _pb = p; }
     }
     return d(self);
 }
Esempio n. 16
0
 public static cef_string_userfree* get_attribute_bylname(cef_xml_reader_t* self, cef_string_t* localName, cef_string_t* namespaceURI)
 {
     get_attribute_bylname_delegate d;
     var p = self->_get_attribute_bylname;
     if (p == _p16) { d = _d16; }
     else
     {
         d = (get_attribute_bylname_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_attribute_bylname_delegate));
         if (_p16 == IntPtr.Zero) { _d16 = d; _p16 = p; }
     }
     return d(self, localName, namespaceURI);
 }
Esempio n. 17
0
 public static cef_string_userfree* get_base_uri(cef_xml_reader_t* self)
 {
     get_base_uri_delegate d;
     var p = self->_get_base_uri;
     if (p == _pd) { d = _dd; }
     else
     {
         d = (get_base_uri_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_base_uri_delegate));
         if (_pd == IntPtr.Zero) { _dd = d; _pd = p; }
     }
     return d(self);
 }
Esempio n. 18
0
 public static int get_line_number(cef_xml_reader_t* self)
 {
     get_line_number_delegate d;
     var p = self->_get_line_number;
     if (p == _p19) { d = _d19; }
     else
     {
         d = (get_line_number_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_line_number_delegate));
         if (_p19 == IntPtr.Zero) { _d19 = d; _p19 = p; }
     }
     return d(self);
 }
Esempio n. 19
0
 public static int is_empty_element(cef_xml_reader_t* self)
 {
     is_empty_element_delegate d;
     var p = self->_is_empty_element;
     if (p == _pf) { d = _df; }
     else
     {
         d = (is_empty_element_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(is_empty_element_delegate));
         if (_pf == IntPtr.Zero) { _df = d; _pf = p; }
     }
     return d(self);
 }
Esempio n. 20
0
 public static int move_to_attribute_byqname(cef_xml_reader_t* self, cef_string_t* qualifiedName)
 {
     move_to_attribute_byqname_delegate d;
     var p = self->_move_to_attribute_byqname;
     if (p == _p1b) { d = _d1b; }
     else
     {
         d = (move_to_attribute_byqname_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_attribute_byqname_delegate));
         if (_p1b == IntPtr.Zero) { _d1b = d; _p1b = p; }
     }
     return d(self, qualifiedName);
 }
Esempio n. 21
0
 public static int has_value(cef_xml_reader_t* self)
 {
     has_value_delegate d;
     var p = self->_has_value;
     if (p == _p10) { d = _d10; }
     else
     {
         d = (has_value_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_value_delegate));
         if (_p10 == IntPtr.Zero) { _d10 = d; _p10 = p; }
     }
     return d(self);
 }
Esempio n. 22
0
 public static int move_to_next_attribute(cef_xml_reader_t* self)
 {
     move_to_next_attribute_delegate d;
     var p = self->_move_to_next_attribute;
     if (p == _p1e) { d = _d1e; }
     else
     {
         d = (move_to_next_attribute_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_next_attribute_delegate));
         if (_p1e == IntPtr.Zero) { _d1e = d; _p1e = p; }
     }
     return d(self);
 }
Esempio n. 23
0
 public static int has_attributes(cef_xml_reader_t* self)
 {
     has_attributes_delegate d;
     var p = self->_has_attributes;
     if (p == _p12) { d = _d12; }
     else
     {
         d = (has_attributes_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(has_attributes_delegate));
         if (_p12 == IntPtr.Zero) { _d12 = d; _p12 = p; }
     }
     return d(self);
 }
Esempio n. 24
0
 internal static CefXmlReader FromNative(cef_xml_reader_t* ptr)
 {
     return new CefXmlReader(ptr);
 }
Esempio n. 25
0
 public static UIntPtr get_attribute_count(cef_xml_reader_t* self)
 {
     get_attribute_count_delegate d;
     var p = self->_get_attribute_count;
     if (p == _p13) { d = _d13; }
     else
     {
         d = (get_attribute_count_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(get_attribute_count_delegate));
         if (_p13 == IntPtr.Zero) { _d13 = d; _p13 = p; }
     }
     return d(self);
 }
Esempio n. 26
0
 private CefXmlReader(cef_xml_reader_t* ptr)
 {
     if (ptr == null) throw new ArgumentNullException("ptr");
     _self = ptr;
 }
Esempio n. 27
0
 public static void add_ref(cef_xml_reader_t* self)
 {
     add_ref_delegate d;
     var p = self->_base._add_ref;
     if (p == _p0) { d = _d0; }
     else
     {
         d = (add_ref_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(add_ref_delegate));
         if (_p0 == IntPtr.Zero) { _d0 = d; _p0 = p; }
     }
     d(self);
 }