diff options
author | David Robillard <d@drobilla.net> | 2021-07-11 20:47:51 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 6eb1fa15a06ab7de08e33add1540a45b83c5f0d8 (patch) | |
tree | 86d3cfedbf2ff76878eba6d14dc7fc259d1cbf46 /include/serd/attributes.h | |
parent | d1ba721d37af61f2b529faaa16bd20ba1e161b06 (diff) | |
download | serd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.tar.gz serd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.tar.bz2 serd-6eb1fa15a06ab7de08e33add1540a45b83c5f0d8.zip |
Add SerdWorld for shared library state
Diffstat (limited to 'include/serd/attributes.h')
-rw-r--r-- | include/serd/attributes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/serd/attributes.h b/include/serd/attributes.h index 4e0d68e2..59063153 100644 --- a/include/serd/attributes.h +++ b/include/serd/attributes.h @@ -76,6 +76,9 @@ /// A const function in the public API that is pure and only reads parameters #define SERD_CONST_API SERD_API SERD_CONST_FUNC +/// A malloc function in the public API that returns allocated memory +#define SERD_MALLOC_API SERD_API SERD_MALLOC_FUNC + /** @} */ |