mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
Add boxed GType for GThread
https://bugzilla.gnome.org/show_bug.cgi?id=688704
This commit is contained in:
@@ -374,6 +374,7 @@ G_TYPE_MAIN_CONTEXT
|
|||||||
G_TYPE_MAIN_LOOP
|
G_TYPE_MAIN_LOOP
|
||||||
G_TYPE_SOURCE
|
G_TYPE_SOURCE
|
||||||
G_TYPE_POLLFD
|
G_TYPE_POLLFD
|
||||||
|
G_TYPE_THREAD
|
||||||
GStrv
|
GStrv
|
||||||
|
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
|
@@ -161,6 +161,8 @@ G_DEFINE_BOXED_TYPE (GMainContext, g_main_context, g_main_context_ref, g_main_co
|
|||||||
G_DEFINE_BOXED_TYPE (GSource, g_source, g_source_ref, g_source_unref)
|
G_DEFINE_BOXED_TYPE (GSource, g_source, g_source_ref, g_source_unref)
|
||||||
G_DEFINE_BOXED_TYPE (GPollFD, g_pollfd, pollfd_copy, g_free)
|
G_DEFINE_BOXED_TYPE (GPollFD, g_pollfd, pollfd_copy, g_free)
|
||||||
|
|
||||||
|
G_DEFINE_BOXED_TYPE (GThread, g_thread, g_thread_ref, g_thread_unref)
|
||||||
|
|
||||||
/* This one can't use G_DEFINE_BOXED_TYPE (GStrv, g_strv, g_strdupv, g_strfreev) */
|
/* This one can't use G_DEFINE_BOXED_TYPE (GStrv, g_strv, g_strdupv, g_strfreev) */
|
||||||
GType
|
GType
|
||||||
g_strv_get_type (void)
|
g_strv_get_type (void)
|
||||||
|
@@ -245,6 +245,15 @@ typedef gsize GType;
|
|||||||
*/
|
*/
|
||||||
#define G_TYPE_KEY_FILE (g_key_file_get_type ())
|
#define G_TYPE_KEY_FILE (g_key_file_get_type ())
|
||||||
|
|
||||||
|
/**
|
||||||
|
* G_TYPE_THREAD:
|
||||||
|
*
|
||||||
|
* The #GType for a boxed type holding a #GThread.
|
||||||
|
*
|
||||||
|
* Since: 2.36
|
||||||
|
*/
|
||||||
|
#define G_TYPE_THREAD (g_thread_get_type ())
|
||||||
|
|
||||||
GType g_date_get_type (void) G_GNUC_CONST;
|
GType g_date_get_type (void) G_GNUC_CONST;
|
||||||
GType g_strv_get_type (void) G_GNUC_CONST;
|
GType g_strv_get_type (void) G_GNUC_CONST;
|
||||||
GType g_gstring_get_type (void) G_GNUC_CONST;
|
GType g_gstring_get_type (void) G_GNUC_CONST;
|
||||||
@@ -272,6 +281,8 @@ GLIB_AVAILABLE_IN_2_30
|
|||||||
GType g_source_get_type (void) G_GNUC_CONST;
|
GType g_source_get_type (void) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_2_36
|
GLIB_AVAILABLE_IN_2_36
|
||||||
GType g_pollfd_get_type (void) G_GNUC_CONST;
|
GType g_pollfd_get_type (void) G_GNUC_CONST;
|
||||||
|
GLIB_AVAILABLE_IN_2_36
|
||||||
|
GType g_thread_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GLIB_DEPRECATED_FOR('G_TYPE_VARIANT')
|
GLIB_DEPRECATED_FOR('G_TYPE_VARIANT')
|
||||||
GType g_variant_get_gtype (void) G_GNUC_CONST;
|
GType g_variant_get_gtype (void) G_GNUC_CONST;
|
||||||
|
@@ -35,6 +35,7 @@ g_main_context_get_type
|
|||||||
g_source_get_type
|
g_source_get_type
|
||||||
g_pollfd_get_type
|
g_pollfd_get_type
|
||||||
g_closure_get_type
|
g_closure_get_type
|
||||||
|
g_thread_get_type
|
||||||
g_value_get_type
|
g_value_get_type
|
||||||
g_value_array_get_type
|
g_value_array_get_type
|
||||||
g_value_set_boxed
|
g_value_set_boxed
|
||||||
|
Reference in New Issue
Block a user