meta: rename legacy object module to 'ds'

This commit is contained in:
2025-08-09 19:57:42 +01:00
parent a5e3e06306
commit 0751ef469f
80 changed files with 460 additions and 460 deletions

17
ds/buffer.h Normal file
View 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