mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-10-10 21:07:12 +00:00
anonymous function pointer types in method signatures. Before, we added a <callback> child to the <parameters> node, but the generator just ignored it. Now we add the callback (with a made-up name) to the toplevel node, and add an ordinary <param> node referencing it to the <parameters> node. Also, if the last param of the callback is a gpointer, rename it from "arg#" to "data" so it will be treated correctly (as the user data passed from the calling method). [Fixes #66241] * art/art-api.raw: * gdk/gdk-api-2.4.raw: * gdk/gdk-api-2.6.raw: Regen * generator/Parameters.cs (IsHidden): loosen the definition of hideable user_data; it doesn't have to occur at the end of the parameter list, as long as there's a callback arg before it. * generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden to decide whether or not to squash user_data params, rather than trying to duplicate its logic. As a side effect, this also causes a handful of methods that take non-hidden IntPtr arguments to start actually passing those arguments to C rather than always passing IntPtr.Zero. * generator/Method.cs (Equals, GetHashCode): Remove unnecessary and possibly erroneous hashing overrides. * gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's useless and wasn't in gtk# 1.0 * gtk/Menu.custom (Popup): * gtk/TextIter.custom (ForwardFindChar, BackwardFindChar): * gnome/App.custom (CreateMenusInterp, InsertMenusInterp, CreateToolbarInterp): * gnome/Client.custom (RequestInteractionInterp): * gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add [Obsolete] compat overloads for methods that have now lost a useless IntPtr. svn path=/trunk/gtk-sharp/; revision=47566 |
||
---|---|---|
.. | ||
glue | ||
Accel.custom | ||
AccelKey.custom | ||
Action.custom | ||
ActionEntry.cs | ||
ActionGroup.custom | ||
Adjustment.custom | ||
Application.cs | ||
Bin.custom | ||
BindingAttribute.cs | ||
Button.custom | ||
Calendar.custom | ||
CellLayout.custom | ||
CellRenderer.custom | ||
CellView.custom | ||
CheckMenuItem.custom | ||
ChildPropertyAttribute.cs | ||
Clipboard.custom | ||
ColorSelection.custom | ||
ColorSelectionDialog.custom | ||
Combo.custom | ||
ComboBox.custom | ||
ComboBoxEntry.custom | ||
Container.custom | ||
Dialog.custom | ||
Entry.custom | ||
EntryCompletion.custom | ||
FileChooser.custom | ||
FileChooserButton.custom | ||
FileChooserDialog.custom | ||
FileChooserWidget.custom | ||
FileSelection.custom | ||
FileSystemModel.custom | ||
Frame.custom | ||
gtk-api-2.4.raw | ||
gtk-api-2.6.raw | ||
gtk-sharp-2.0.pc.in | ||
gtk-sharp.dll.config.in | ||
gtk-symbols.xml | ||
Gtk.metadata | ||
HBox.custom | ||
HScale.custom | ||
IconFactory.custom | ||
IconSet.custom | ||
IconTheme.custom | ||
Image.custom | ||
ImageMenuItem.custom | ||
Init.custom | ||
Input.custom | ||
ItemFactory.custom | ||
ITreeNode.cs | ||
Label.custom | ||
ListStore.custom | ||
Makefile.am | ||
makefile.win32 | ||
Menu.custom | ||
MenuItem.custom | ||
MessageDialog.custom | ||
NodeCellDataFunc.cs | ||
NodeSelection.cs | ||
NodeStore.cs | ||
NodeView.cs | ||
Notebook.custom | ||
Object.custom | ||
Plug.custom | ||
Quit.custom | ||
RadioActionEntry.cs | ||
RadioButton.custom | ||
RadioMenuItem.custom | ||
ScrolledWindow.custom | ||
SelectionData.custom | ||
Settings.custom | ||
SpinButton.custom | ||
Stock.custom | ||
StockItem.custom | ||
StockManager.cs | ||
Style.custom | ||
Table.custom | ||
TargetEntry.custom | ||
TargetList.custom | ||
TargetPair.custom | ||
TextAppearance.custom | ||
TextAttributes.custom | ||
TextBuffer.custom | ||
TextChildAnchor.custom | ||
TextIter.custom | ||
TextTag.custom | ||
TextView.custom | ||
ThreadNotify.cs | ||
Timeout.cs | ||
ToggleActionEntry.cs | ||
Toolbar.custom | ||
TooltipsData.custom | ||
TreeEnumerator.cs | ||
TreeIter.custom | ||
TreeModel.custom | ||
TreeModelFilter.custom | ||
TreeModelSort.custom | ||
TreeNode.cs | ||
TreeNodeAttribute.cs | ||
TreeNodeValueAttribute.cs | ||
TreePath.custom | ||
TreeSelection.custom | ||
TreeSortable.custom | ||
TreeStore.custom | ||
TreeView.custom | ||
TreeViewColumn.custom | ||
UIManager.custom | ||
VBox.custom | ||
Viewport.custom | ||
VScale.custom | ||
Widget.custom | ||
Window.custom |