src/server/util/strreplace.h

changeset 661
a4e1ba59b733
parent 634
9728d3a2ac97
--- a/src/server/util/strreplace.h	Tue Jan 13 18:09:20 2026 +0100
+++ b/src/server/util/strreplace.h	Tue Feb 03 19:09:53 2026 +0100
@@ -29,8 +29,7 @@
 #ifndef STRINGREPLACE_H
 #define STRINGREPLACE_H
 
-#include "../public/nsapi.h"
-
+#include <stdbool.h>
 #include <cx/string.h>
 #include <cx/buffer.h>
 
@@ -94,7 +93,7 @@
  * free_str: If set to true, the returned string pointer will be freed
  *           using the allocator's free function.
  */
-typedef cxmutstr (*strtpl_var_func)(const CxAllocator *a, StringTemplateSegment *seg, void *userdata, WSBool *free_str);
+typedef cxmutstr (*strtpl_var_func)(const CxAllocator *a, StringTemplateSegment *seg, void *userdata, bool *free_str);
 
 /*
  * Compiles a string template

mercurial