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.
/* Queues
*/
-GQueue* g_queue_create (void);
+GQueue* g_queue_new (void);
void g_queue_free (GQueue *queue);
void g_queue_push_head (GQueue *queue,
gpointer data);
/* Queues
*/
-GQueue* g_queue_create (void);
+GQueue* g_queue_new (void);
void g_queue_free (GQueue *queue);
void g_queue_push_head (GQueue *queue,
gpointer data);
static GTrashStack *free_queue_nodes = NULL;
GQueue*
-g_queue_create (void)
+g_queue_new (void)
{
GQueue *queue;
static GTrashStack *free_queue_nodes = NULL;
GQueue*
-g_queue_create (void)
+g_queue_new (void)
{
GQueue *queue;
GList *node;
gpointer data;
- q = g_queue_create ();
+ q = g_queue_new ();
g_assert (g_queue_is_empty (q) == TRUE);