diff options
| author | 2022-09-19 22:41:30 +0200 | |
|---|---|---|
| committer | 2022-09-19 22:41:30 +0200 | |
| commit | c88d4f1e152859254d28bcd6cd7ad7798f0782c4 (patch) | |
| tree | 9baffa3bda31577cc37827d872f586ea05ca382a /xs.h | |
| parent | Unified error strings. (diff) | |
| download | snac2-c88d4f1e152859254d28bcd6cd7ad7798f0782c4.tar.gz snac2-c88d4f1e152859254d28bcd6cd7ad7798f0782c4.tar.xz snac2-c88d4f1e152859254d28bcd6cd7ad7798f0782c4.zip | |
[data.c] new file.
Diffstat (limited to 'xs.h')
| -rw-r--r-- | xs.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -37,6 +37,7 @@ typedef char d_char; | |||
| 37 | #define _XS_BLK_SIZE 16 | 37 | #define _XS_BLK_SIZE 16 |
| 38 | #define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE) | 38 | #define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE) |
| 39 | 39 | ||
| 40 | void _xs_destroy(char **var); | ||
| 40 | #define xs_debug() kill(getpid(), 5) | 41 | #define xs_debug() kill(getpid(), 5) |
| 41 | xstype xs_type(const char *data); | 42 | xstype xs_type(const char *data); |
| 42 | int xs_size(const char *data); | 43 | int xs_size(const char *data); |