diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-08-31 14:59:53 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-08-31 14:59:53 -0800 |
| commit | b6551d6e9a475db64fe9cd8cd20695203d860cd8 (patch) | |
| tree | e90b8ac81008aecd4e2011d231987c2cfe12a2c4 /include/bindle.h | |
| parent | 1eda05d340432ac4ab46edf914b523ab54eb8ca4 (diff) | |
| download | bindletools-b6551d6e9a475db64fe9cd8cd20695203d860cd8.tar.gz bindletools-b6551d6e9a475db64fe9cd8cd20695203d860cd8.tar.bz2 bindletools-b6551d6e9a475db64fe9cd8cd20695203d860cd8.tar.xz bindletools-b6551d6e9a475db64fe9cd8cd20695203d860cd8.zip | |
libbindle: defining BNDL_OBJ_SIZE
Diffstat (limited to 'include/bindle.h')
| -rw-r--r-- | include/bindle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bindle.h b/include/bindle.h index 7b584d9..86a125b 100644 --- a/include/bindle.h +++ b/include/bindle.h | |||
| @@ -167,6 +167,7 @@ typedef struct _bindle_obj | |||
| 167 | atomic_intptr_t ref_count; | 167 | atomic_intptr_t ref_count; |
| 168 | void (*free_func)(void * ptr); | 168 | void (*free_func)(void * ptr); |
| 169 | } bindle_obj_t; | 169 | } bindle_obj_t; |
| 170 | #define BNDL_OBJ_SIZE sizeof(bindle_obj_t) | ||
| 170 | 171 | ||
| 171 | 172 | ||
| 172 | // URL = scheme ":" ["//" authority] path ["?" query] ["#" fragment] | 173 | // URL = scheme ":" ["//" authority] path ["?" query] ["#" fragment] |
