diff options
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/system.h b/src/system.h index 57203820..fe2713b5 100644 --- a/src/system.h +++ b/src/system.h @@ -22,15 +22,19 @@ #include <stdio.h> /// Open a file configured for fast sequential reading -FILE* serd_fopen(const char* path, const char* mode); +FILE* +serd_fopen(const char* path, const char* mode); /// Allocate a buffer aligned to `alignment` bytes -SERD_MALLOC_FUNC void* serd_malloc_aligned(size_t alignment, size_t size); +SERD_MALLOC_FUNC void* +serd_malloc_aligned(size_t alignment, size_t size); /// Allocate an aligned buffer for I/O -SERD_MALLOC_FUNC void* serd_allocate_buffer(size_t size); +SERD_MALLOC_FUNC void* +serd_allocate_buffer(size_t size); /// Free a buffer allocated with an aligned allocation function -void serd_free_aligned(void* ptr); +void +serd_free_aligned(void* ptr); #endif // SERD_SYSTEM_H |