mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
make struct _GThread private
Hide the definition of struct _GThread in gthreadprivate.h for now. This is possibly an API break -- although the structure contents were undocumented and it was not safe to access them in a meaningful way, someone may have tried to do it anyway. We'll leave it here for a while to see if it causes any problems. Avoid merging its contents with GRealThread for now, just incase we need to expose it again.
This commit is contained in:
parent
b1cc2579c1
commit
d904612100
@ -43,15 +43,6 @@ typedef enum
|
|||||||
G_THREAD_PRIORITY_URGENT
|
G_THREAD_PRIORITY_URGENT
|
||||||
} GThreadPriority;
|
} GThreadPriority;
|
||||||
|
|
||||||
struct _GThread
|
|
||||||
{
|
|
||||||
/*< private >*/
|
|
||||||
GThreadFunc func;
|
|
||||||
gpointer data;
|
|
||||||
gboolean joinable;
|
|
||||||
GThreadPriority priority;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct _GThreadFunctions GThreadFunctions;
|
typedef struct _GThreadFunctions GThreadFunctions;
|
||||||
struct _GThreadFunctions
|
struct _GThreadFunctions
|
||||||
{
|
{
|
||||||
|
@ -25,6 +25,15 @@
|
|||||||
|
|
||||||
#include "deprecated/gthread.h"
|
#include "deprecated/gthread.h"
|
||||||
|
|
||||||
|
struct _GThread
|
||||||
|
{
|
||||||
|
/*< private >*/
|
||||||
|
GThreadFunc func;
|
||||||
|
gpointer data;
|
||||||
|
gboolean joinable;
|
||||||
|
GThreadPriority priority;
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct _GRealThread GRealThread;
|
typedef struct _GRealThread GRealThread;
|
||||||
struct _GRealThread
|
struct _GRealThread
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user