meta: rename legacy object module to 'ds'
This commit is contained in:
17
ds/buffer.h
Normal file
17
ds/buffer.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _BLUELIB_BUFFER_H_
|
||||
#define _BLUELIB_BUFFER_H_
|
||||
|
||||
#include "../object.h"
|
||||
|
||||
struct b_buffer {
|
||||
struct b_dsref buf_base;
|
||||
/* number of items in buffer */
|
||||
unsigned int buf_len;
|
||||
/* maximum number of items that can currently be stored in array */
|
||||
unsigned int buf_cap;
|
||||
/* the size of each individual item in the buffer */
|
||||
unsigned int buf_itemsz;
|
||||
void *buf_data;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user