diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 15:44:37 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 18:29:45 +0100 |
commit | bafa091fada7b3fdc663567abc0a7455bc3a77c9 (patch) | |
tree | 68c73bbdec5d0fa83cc2913c7a13f48e84a3bdff /src/system.h | |
parent | f820212f2ac92400cf277686e4f79e740b95688c (diff) | |
download | serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.gz serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.tar.bz2 serd-bafa091fada7b3fdc663567abc0a7455bc3a77c9.zip |
Add const, pure, and malloc function attributes
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index b1b84925..0f6a0e0b 100644 --- a/src/system.h +++ b/src/system.h @@ -17,12 +17,14 @@ #ifndef SERD_SYSTEM_H #define SERD_SYSTEM_H +#include "attributes.h" + #include <stdio.h> FILE* serd_fopen(const char* path, const char* mode); -void* +SERD_MALLOC_FUNC void* serd_bufalloc(size_t size); #endif // SERD_SYSTEM_H |