mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner)
2005-03-08 Matthias Clasen <mclasen@redhat.com> * glib/gmacros.h: Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner) * glib/gstrfuncs.h: * glib/gfileutils.h: Use G_GNUC_NULL_TERMINATED where appropriate.
This commit is contained in:
committed by
Matthias Clasen
parent
0fa2c2b366
commit
6aac5ce82c
@@ -131,7 +131,7 @@ GParamSpec**g_object_interface_list_properties (gpointer g_iface,
|
||||
|
||||
gpointer g_object_new (GType object_type,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
gpointer g_object_newv (GType object_type,
|
||||
guint n_parameters,
|
||||
GParameter *parameters);
|
||||
@@ -140,16 +140,16 @@ GObject* g_object_new_valist (GType object_type,
|
||||
va_list var_args);
|
||||
void g_object_set (gpointer object,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
void g_object_get (gpointer object,
|
||||
const gchar *first_property_name,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
gpointer g_object_connect (gpointer object,
|
||||
const gchar *signal_spec,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
void g_object_disconnect (gpointer object,
|
||||
const gchar *signal_spec,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
void g_object_set_valist (GObject *object,
|
||||
const gchar *first_property_name,
|
||||
va_list var_args);
|
||||
|
Reference in New Issue
Block a user