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)); }
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); }