mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
change order of gpointer data; field in struct _GNode to be partly binary
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org> * glib.h: * gnode.c: change order of gpointer data; field in struct _GNode to be partly binary compatible with GList and GSList.
This commit is contained in:
parent
de89a5b945
commit
8b853a62c5
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
@ -1,3 +1,9 @@
|
||||
Mon Aug 3 16:02:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib.h:
|
||||
* gnode.c: change order of gpointer data; field in struct _GNode to
|
||||
be partly binary compatible with GList and GSList.
|
||||
|
||||
1998-08-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* garray.c (g_ptr_array_remove_index): bugfix: index check for
|
||||
|
5
glib.h
5
glib.h
@ -748,12 +748,11 @@ gint g_tree_nnodes (GTree *tree);
|
||||
*/
|
||||
struct _GNode
|
||||
{
|
||||
GNode *prev;
|
||||
gpointer data;
|
||||
GNode *next;
|
||||
GNode *prev;
|
||||
GNode *parent;
|
||||
GNode *children;
|
||||
|
||||
gpointer data;
|
||||
};
|
||||
|
||||
#define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && \
|
||||
|
@ -748,12 +748,11 @@ gint g_tree_nnodes (GTree *tree);
|
||||
*/
|
||||
struct _GNode
|
||||
{
|
||||
GNode *prev;
|
||||
gpointer data;
|
||||
GNode *next;
|
||||
GNode *prev;
|
||||
GNode *parent;
|
||||
GNode *children;
|
||||
|
||||
gpointer data;
|
||||
};
|
||||
|
||||
#define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && \
|
||||
|
@ -49,11 +49,11 @@ g_node_new (gpointer data)
|
||||
else
|
||||
node = g_chunk_new (GNode, g_tree_node_chunk);
|
||||
|
||||
node->prev = NULL;
|
||||
node->data = data;
|
||||
node->next = NULL;
|
||||
node->prev = NULL;
|
||||
node->parent = NULL;
|
||||
node->children = NULL;
|
||||
node->data = data;
|
||||
|
||||
return node;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user