18 lines
329 B
C
18 lines
329 B
C
#define GEBS_NO_PREFIX
|
|
#define GEBS_IMPLEMENTATION
|
|
#include "../gebs.h"
|
|
|
|
int main(int argc, char ** argv)
|
|
{
|
|
String_Builder sb_c;
|
|
if (!sb_read_file(&sb_c, "sb.c")) {
|
|
LOGE("Could not read sb.c. sb.c is in example/\n");
|
|
return 1;
|
|
}
|
|
sb_finish(&sb_c);
|
|
|
|
printf("%s\n", sb_c.items);
|
|
|
|
return 0;
|
|
}
|