Renamed g_queue_create to g_queue_new in conformance to all other GLib

2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib.h, gqueue.c, tests/queue-test.c (main): Renamed
	g_queue_create to g_queue_new in conformance to all other GLib
	data types.
This commit is contained in:
Sebastian Wilhelmi 2000-04-17 10:31:10 +00:00 committed by Sebastian Wilhelmi
parent 186010f7ab
commit 8f02fac4ad
5 changed files with 5 additions and 5 deletions

2
glib.h
View File

@ -1059,7 +1059,7 @@ gpointer g_slist_nth_data (GSList *list,
/* Queues /* Queues
*/ */
GQueue* g_queue_create (void); GQueue* g_queue_new (void);
void g_queue_free (GQueue *queue); void g_queue_free (GQueue *queue);
void g_queue_push_head (GQueue *queue, void g_queue_push_head (GQueue *queue,
gpointer data); gpointer data);

View File

@ -1059,7 +1059,7 @@ gpointer g_slist_nth_data (GSList *list,
/* Queues /* Queues
*/ */
GQueue* g_queue_create (void); GQueue* g_queue_new (void);
void g_queue_free (GQueue *queue); void g_queue_free (GQueue *queue);
void g_queue_push_head (GQueue *queue, void g_queue_push_head (GQueue *queue,
gpointer data); gpointer data);

View File

@ -32,7 +32,7 @@ static GMemChunk *queue_memchunk = NULL;
static GTrashStack *free_queue_nodes = NULL; static GTrashStack *free_queue_nodes = NULL;
GQueue* GQueue*
g_queue_create (void) g_queue_new (void)
{ {
GQueue *queue; GQueue *queue;

View File

@ -32,7 +32,7 @@ static GMemChunk *queue_memchunk = NULL;
static GTrashStack *free_queue_nodes = NULL; static GTrashStack *free_queue_nodes = NULL;
GQueue* GQueue*
g_queue_create (void) g_queue_new (void)
{ {
GQueue *queue; GQueue *queue;

View File

@ -9,7 +9,7 @@ int main()
GList *node; GList *node;
gpointer data; gpointer data;
q = g_queue_create (); q = g_queue_new ();
g_assert (g_queue_is_empty (q) == TRUE); g_assert (g_queue_is_empty (q) == TRUE);