ucx/cx/printf.h

branch
dav-2
changeset 886
da79af4baec8
parent 854
1c8401ece69e
child 889
42cdbf9bbd49
--- a/ucx/cx/printf.h	Tue Sep 09 16:01:30 2025 +0200
+++ b/ucx/cx/printf.h	Tue Sep 09 20:56:47 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