buf.h (193B)
1 #ifndef PLONG_BUF_H 2 #define PLONG_BUF_H 3 4 #define BUF_FROM_ARR(a) (struct buf){ .data = a, .end = 1[&a] } 5 6 struct buf { 7 char *data; 8 char *end; 9 }; 10 11 int buf_char(struct buf *b, char c); 12 13 #endif
plongUnnamed repository; edit this file 'description' to name the repository. | |
git clone https://git.inz.fi/plong | |
Log | Files | Refs |