summaryrefslogtreecommitdiffstats
path: root/include/zix/string_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/string_view.h')
-rw-r--r--include/zix/string_view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zix/string_view.h b/include/zix/string_view.h
index f13f8d1..f463c1f 100644
--- a/include/zix/string_view.h
+++ b/include/zix/string_view.h
@@ -89,7 +89,7 @@ zix_string(const char* const ZIX_NULLABLE str)
/**
Copy a string view into a newly allocated null-terminated string.
*/
-ZIX_API
+ZIX_MALLOC_API
char* ZIX_ALLOCATED
zix_string_view_copy(ZixAllocator* ZIX_NULLABLE allocator, ZixStringView view);