mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
43b692c8eb
Fri Mar 9 14:57:17 2001 Tim Janik <timj@gtk.org> * testgruntime.c: test program. covers run first/last/cleanup signal handlers, return value accumulator, signal string returns, and interface types in signal arguments. * gtype.c (g_type_value_table_peek): for interface types without value table, try looking up a value table from an instantiatable prerequisite type (this is safe as an interface may only have one instantiatable prerequisiste). (type_check_is_value_type_U): same here. * gsignal.c (g_signal_newv): assert that return types never have G_SIGNAL_TYPE_STATIC_SCOPE set. (g_signal_newc): only create class closure if the class_offset is not 0.
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
# see glib-genmarshal(1) for a detailed description of the file format,
|
|
# possible parameter types are:
|
|
# VOID indicates no return type, or no extra
|
|
# parameters. if VOID is used as the parameter
|
|
# list, no additional parameters may be present.
|
|
# BOOLEAN for boolean types (gboolean)
|
|
# CHAR for signed char types (gchar)
|
|
# UCHAR for unsigned char types (guchar)
|
|
# INT for signed integer types (gint)
|
|
# UINT for unsigned integer types (guint)
|
|
# LONG for signed long integer types (glong)
|
|
# ULONG for unsigned long integer types (gulong)
|
|
# ENUM for enumeration types (gint)
|
|
# FLAGS for flag enumeration types (guint)
|
|
# FLOAT for single-precision float types (gfloat)
|
|
# DOUBLE for double-precision float types (gdouble)
|
|
# STRING for string types (gchar*)
|
|
# PARAM for GParamSpec or derived types (GParamSpec*)
|
|
# BOXED for boxed (anonymous but reference counted) types (GBoxed*)
|
|
# POINTER for anonymous pointer types (gpointer)
|
|
# OBJECT for GObject or derived types (GObject*)
|
|
# NONE deprecated alias for VOID
|
|
# BOOL deprecated alias for BOOLEAN
|
|
|
|
# standard VOID return marshallers
|
|
VOID:VOID
|
|
VOID:BOOLEAN
|
|
VOID:CHAR
|
|
VOID:UCHAR
|
|
VOID:INT
|
|
VOID:UINT
|
|
VOID:LONG
|
|
VOID:ULONG
|
|
VOID:ENUM
|
|
VOID:FLAGS
|
|
VOID:FLOAT
|
|
VOID:DOUBLE
|
|
VOID:STRING
|
|
VOID:PARAM
|
|
VOID:BOXED
|
|
VOID:POINTER
|
|
VOID:OBJECT
|
|
STRING:OBJECT,POINTER
|
|
|
|
# GRuntime specific marshallers
|
|
VOID:UINT,POINTER
|