2 * Copyright (c) 1998-2005, Index Data.
3 * See the file LICENSE for details.
5 * $Id: gduqueue.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $
9 #include <yazpp/gduqueue.h>
11 using namespace yazpp_1;
22 for (l = m_list; l; l = l->m_next)
27 void GDUQueue::enqueue(GDU *gdu)
29 GDUQueue_List *l = new GDUQueue_List;
35 GDU *GDUQueue::dequeue()
37 GDUQueue_List **l = &m_list;
42 GDU *m = (*l)->m_item;
48 void GDUQueue::clear()
51 while ((g = dequeue()))
62 * indent-tabs-mode: nil
64 * vim: shiftwidth=4 tabstop=8 expandtab