1 /* $XConsortium: dlist_void_ptr_cell.h /main/3 1996/06/11 17:17:00 cde-hal $ */
4 #ifndef _dlist_void_ptr_cell_h
5 #define _dlist_void_ptr_cell_h 1
7 #include "utility/types.h"
8 #include "dstr/dlist_cell.h"
10 // doubly-linked list cell class, voidPtr as data ptr.
12 class dlist_void_ptr_cell : public dlist_cell {
15 dlist_void_ptr_cell(voidPtr vp) : data(vp) {};
16 virtual ~dlist_void_ptr_cell() {};
18 voidPtr void_ptr() { return data; };
24 typedef dlist_void_ptr_cell *dlist_void_ptr_cellPtr;