comparison: src/buffer.c
src/buffer.c
- changeset 654
- c9d008861178
- parent 648
- 77021e06b1a8
- child 673
- 60fb6aec157d
equal
deleted
inserted
replaced
| 27 */ |
27 */ |
| 28 |
28 |
| 29 #include "cx/buffer.h" |
29 #include "cx/buffer.h" |
| 30 #include "cx/utils.h" |
30 #include "cx/utils.h" |
| 31 |
31 |
| 32 #include <stdlib.h> |
|
| 33 #include <stdio.h> |
32 #include <stdio.h> |
| 34 #include <string.h> |
33 #include <string.h> |
| 35 #include <stdint.h> |
|
| 36 |
34 |
| 37 int cxBufferInit( |
35 int cxBufferInit( |
| 38 CxBuffer *buffer, |
36 CxBuffer *buffer, |
| 39 void *space, |
37 void *space, |
| 40 size_t capacity, |
38 size_t capacity, |