src/properties.c

changeset 1426
3a89b31f0724
parent 1408
aaa440cd4125
--- a/src/properties.c	Wed Oct 15 22:45:21 2025 +0200
+++ b/src/properties.c	Thu Oct 16 19:57:47 2025 +0200
@@ -51,6 +51,12 @@
     cxBufferDestroy(&prop->buffer);
 }
 
+void cxPropertiesReset(CxProperties *prop) {
+    CxPropertiesConfig config = prop->config;
+    cxPropertiesDestroy(prop);
+    cxPropertiesInit(prop, config);
+}
+
 int cxPropertiesFilln(
         CxProperties *prop,
         const char *buf,

mercurial