gtk2/gtk/gtktypebuiltins.c
Tim Janik 004f0982e1 typedef gint gboolean; this is needed to provide portability with
Thu May 14 04:14:12 1998  Tim Janik  <timj@gtk.org>

        * glib.h: typedef gint gboolean;
        this is needed to provide portability with big-endian platforms (e.g.
        try sizeof(bool) for c++ on big-endians - it's 4).
        this is also needed to maintain some_union.d_gint==some_union.d_gboolean.
        plus, gint to gboolean casts and vice versa need to be possible without
        loss.

Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
        freeing types.
        (gtk_type_set_chunk_alloc): new function to allow allocation of new
        types from a mem_chunk of certain size (n_chunks==0 indicates allocation
        thorugh g_malloc).

        * gtk/gtkobject.c (gtk_object_finalize): free an object through
        gtk_type_free().

        * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
        GtkButtons to 16.
        * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
        * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
1998-05-14 21:13:18 +00:00

61 lines
2.2 KiB
C

/* generated by gentypeinfo from "gtk.defs" */
{ "GtkWindowType", GTK_TYPE_ENUM },
{ "GtkStateType", GTK_TYPE_ENUM },
{ "GtkDirectionType", GTK_TYPE_ENUM },
{ "GtkShadowType", GTK_TYPE_ENUM },
{ "GtkArrowType", GTK_TYPE_ENUM },
{ "GtkPackType", GTK_TYPE_ENUM },
{ "GtkPolicyType", GTK_TYPE_ENUM },
{ "GtkUpdateType", GTK_TYPE_ENUM },
{ "GtkAttachOptions", GTK_TYPE_FLAGS },
{ "GtkSignalRunType", GTK_TYPE_FLAGS },
{ "GtkWindowPosition", GTK_TYPE_ENUM },
{ "GtkSubmenuDirection", GTK_TYPE_ENUM },
{ "GtkSubmenuPlacement", GTK_TYPE_ENUM },
{ "GtkMenuFactoryType", GTK_TYPE_ENUM },
{ "GtkMetricType", GTK_TYPE_ENUM },
{ "GtkScrollType", GTK_TYPE_ENUM },
{ "GtkTroughType", GTK_TYPE_ENUM },
{ "GtkPositionType", GTK_TYPE_ENUM },
{ "GtkPreviewType", GTK_TYPE_ENUM },
{ "GtkWidgetFlags", GTK_TYPE_FLAGS },
{ "GtkSelectionMode", GTK_TYPE_ENUM },
{ "GtkCurveType", GTK_TYPE_ENUM },
{ "GtkFundamentalType", GTK_TYPE_ENUM },
{ "GtkJustification", GTK_TYPE_ENUM },
{ "GtkButtonBoxStyle", GTK_TYPE_ENUM },
{ "GtkOrientation", GTK_TYPE_ENUM },
{ "GdkWindowType", GTK_TYPE_ENUM },
{ "GdkWindowClass", GTK_TYPE_ENUM },
{ "GdkImageType", GTK_TYPE_ENUM },
{ "GdkVisualType", GTK_TYPE_ENUM },
{ "GdkWindowAttributesType", GTK_TYPE_FLAGS },
{ "GdkWindowHints", GTK_TYPE_FLAGS },
{ "GdkFunction", GTK_TYPE_ENUM },
{ "GdkFill", GTK_TYPE_ENUM },
{ "GdkLineStyle", GTK_TYPE_ENUM },
{ "GdkCapStyle", GTK_TYPE_ENUM },
{ "GdkJoinStyle", GTK_TYPE_ENUM },
{ "GdkCursorType", GTK_TYPE_ENUM },
{ "GdkEventType", GTK_TYPE_ENUM },
{ "GdkEventMask", GTK_TYPE_FLAGS },
{ "GdkNotifyType", GTK_TYPE_ENUM },
{ "GdkModifierType", GTK_TYPE_FLAGS },
{ "GdkSubwindowMode", GTK_TYPE_ENUM },
{ "GdkInputCondition", GTK_TYPE_FLAGS },
{ "GdkStatus", GTK_TYPE_ENUM },
{ "GdkByteOrder", GTK_TYPE_ENUM },
{ "GdkGCValuesMask", GTK_TYPE_FLAGS },
{ "GdkSelection", GTK_TYPE_ENUM },
{ "GdkPropertyState", GTK_TYPE_ENUM },
{ "GdkPropMode", GTK_TYPE_ENUM },
{ "GtkAcceleratorTable", GTK_TYPE_BOXED },
{ "GtkStyle", GTK_TYPE_BOXED },
{ "GdkColormap", GTK_TYPE_BOXED },
{ "GdkVisual", GTK_TYPE_BOXED },
{ "GdkFont", GTK_TYPE_BOXED },
{ "GdkWindow", GTK_TYPE_BOXED },
{ "GdkEvent", GTK_TYPE_BOXED },
{ "GdkColor", GTK_TYPE_BOXED },