add single instance mode
[uwplayer.git] / ucx / cx / printf.h
index f4fc8ce..c2dc42f 100644 (file)
@@ -96,7 +96,7 @@ int cx_vfprintf(
  */
 __attribute__((__nonnull__(1, 2), __format__(printf, 2, 3)))
 cxmutstr cx_asprintf_a(
-        CxAllocator *allocator,
+        CxAllocator const *allocator,
         char const *fmt,
         ...
 );
@@ -129,7 +129,7 @@ cxmutstr cx_asprintf_a(
  */
 __attribute__((__nonnull__))
 cxmutstr cx_vasprintf_a(
-        CxAllocator *allocator,
+        CxAllocator const *allocator,
         char const *fmt,
         va_list ap
 );