1 /* This file is part of the yazpp toolkit.
2 * Copyright (C) Index Data and Mike Taylor
3 * See the file LICENSE for details.
10 #include <yazpp/gduqueue.h>
12 using namespace yazpp_1;
23 for (l = m_list; l; l = l->m_next)
28 void GDUQueue::enqueue(GDU *gdu)
30 GDUQueue_List *l = new GDUQueue_List;
36 GDU *GDUQueue::dequeue()
38 GDUQueue_List **l = &m_list;
43 GDU *m = (*l)->m_item;
49 void GDUQueue::clear()
52 while ((g = dequeue()))
63 * c-file-style: "Stroustrup"
64 * indent-tabs-mode: nil
66 * vim: shiftwidth=4 tabstop=8 expandtab