blob: f38a95f27c114e658f2c91ce3f7a922e2e7106b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#include "../src/buffer.h"
int main (int argc, char *argv[]) {
growable_buffer buf;
init_growable_buffer(&buf);
grow_growable_buffer(&buf, 1000);
if (buf.size != 1000){
printf("HOLA\n");
return 1;
}
free_growable_buffer(&buf);
return 0;
}
|