mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +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
|
||||
} GThreadPriority;
|
||||
|
||||
struct _GThread
|
||||
{
|
||||
/*< private >*/
|
||||
GThreadFunc func;
|
||||
gpointer data;
|
||||
gboolean joinable;
|
||||
GThreadPriority priority;
|
||||
};
|
||||
|
||||
typedef struct _GThreadFunctions GThreadFunctions;
|
||||
struct _GThreadFunctions
|
||||
{
|
||||
|
@ -25,6 +25,15 @@
|
||||
|
||||
#include "deprecated/gthread.h"
|
||||
|
||||
struct _GThread
|
||||
{
|
||||
/*< private >*/
|
||||
GThreadFunc func;
|
||||
gpointer data;
|
||||
gboolean joinable;
|
||||
GThreadPriority priority;
|
||||
};
|
||||
|
||||
typedef struct _GRealThread GRealThread;
|
||||
struct _GRealThread
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user