20 lines
266 B
C
20 lines
266 B
C
|
|
#ifndef _BLUELIB_LIST_H_
|
||
|
|
#define _BLUELIB_LIST_H_
|
||
|
|
|
||
|
|
#include "object.h"
|
||
|
|
|
||
|
|
#include <blue/core/queue.h>
|
||
|
|
|
||
|
|
struct b_list {
|
||
|
|
struct b_object l_base;
|
||
|
|
struct b_queue l_queue;
|
||
|
|
size_t l_len;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct b_list_entry {
|
||
|
|
struct b_queue_entry e_entry;
|
||
|
|
void *e_data;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|