- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSWbuffer.h
More file actions
Latest commit
17 lines (12 loc) · 424 Bytes
/
Copy pathSWbuffer.h
File metadata and controls
17 lines (12 loc) · 424 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndefSW_BUFFER_H
#defineSW_BUFFER_H
#include"SWcore.h"
typedefstructSWbuffer {
SWuintsize;
void*data;
} SWbuffer;
voidswBufInit(SWbuffer*b, SWuintsize, constvoid*data);
voidswBufDestroy(SWbuffer*b);
voidswBufSetData(SWbuffer*b, SWuintoffset, SWuintsize, constvoid*data);
voidswBufGetData(constSWbuffer*b, SWuintoffset, SWuintsize, void*data);
#endif/* SW_BUFFER_H */