mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-29 18:36:38 +02:00
Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30
I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816
This commit is contained in:
@@ -57,24 +57,30 @@ G_BEGIN_DECLS
|
||||
*/
|
||||
#define G_UNIX_ERROR (g_unix_error_quark())
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
GQuark g_unix_error_quark (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
gboolean g_unix_open_pipe (gint *fds,
|
||||
gint flags,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
gboolean g_unix_set_fd_nonblocking (gint fd,
|
||||
gboolean nonblock,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
GSource *g_unix_signal_source_new (gint signum);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
guint g_unix_signal_add_full (gint priority,
|
||||
gint signum,
|
||||
GSourceFunc handler,
|
||||
gpointer user_data,
|
||||
GDestroyNotify notify);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
guint g_unix_signal_add (gint signum,
|
||||
GSourceFunc handler,
|
||||
gpointer user_data);
|
||||
|
Reference in New Issue
Block a user