src/cx/printf.h

changeset 1285
7acbaa74fbd0
parent 1180
4c3a69b9723a
--- a/src/cx/printf.h	Fri Apr 11 16:45:20 2025 +0200
+++ b/src/cx/printf.h	Fri Apr 11 16:48:58 2025 +0200
@@ -229,7 +229,7 @@
 cx_attr_cstr_arg(4)
 cx_attr_export
 int cx_sprintf_a(
-        CxAllocator *alloc,
+        const CxAllocator *alloc,
         char **str,
         size_t *len,
         const char *fmt,
@@ -274,7 +274,7 @@
 cx_attr_access_rw(3)
 cx_attr_export
 int cx_vsprintf_a(
-        CxAllocator *alloc,
+        const CxAllocator *alloc,
         char **str,
         size_t *len,
         const char *fmt,
@@ -333,7 +333,7 @@
 cx_attr_access_rw(4)
 cx_attr_export
 int cx_sprintf_sa(
-        CxAllocator *alloc,
+        const CxAllocator *alloc,
         char *buf,
         size_t *len,
         char **str,
@@ -388,7 +388,7 @@
 cx_attr_cstr_arg(5)
 cx_attr_export
 int cx_vsprintf_sa(
-        CxAllocator *alloc,
+        const CxAllocator *alloc,
         char *buf,
         size_t *len,
         char **str,

mercurial