From 6eb1fa15a06ab7de08e33add1540a45b83c5f0d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Jul 2021 20:47:51 -0400 Subject: Add SerdWorld for shared library state --- include/serd/attributes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/serd/attributes.h') 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 + /** @} */ -- cgit v1.2.1