public static int move_to_first_attribute(cef_xml_reader_t *self) { move_to_first_attribute_delegate d; var p = self->_move_to_first_attribute; if (p == _p1d) { d = _d1d; } else { d = (move_to_first_attribute_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_first_attribute_delegate)); if (_p1d == IntPtr.Zero) { _d1d = d; _p1d = p; } } return(d(self)); }
public static int move_to_first_attribute(cef_xml_reader_t* self) { move_to_first_attribute_delegate d; var p = self->_move_to_first_attribute; if (p == _p1d) { d = _d1d; } else { d = (move_to_first_attribute_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(move_to_first_attribute_delegate)); if (_p1d == IntPtr.Zero) { _d1d = d; _p1d = p; } } return d(self); }