libpkgconf: buffer: add PKGCONF_BUFFER_INITIALIZER

master
Ariadne Conill 2025-02-02 00:31:54 -08:00
parent 10017500ff
commit bd043cae9f
1 changed files with 2 additions and 0 deletions

View File

@ -439,6 +439,8 @@ static inline size_t pkgconf_buffer_len(const pkgconf_buffer_t *buffer) {
return (size_t)(ptrdiff_t)(buffer->end - buffer->base);
}
#define PKGCONF_BUFFER_INITIALIZER { NULL, NULL }
#ifdef __cplusplus
}
#endif