From 1ff2eec11289742b428c567baca747354274c0a5 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Fri, 28 Jun 2024 14:03:49 +0300 Subject: [PATCH] str_replace.h: add missing macros --- c-programming/strings/str_replace.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c-programming/strings/str_replace.h b/c-programming/strings/str_replace.h index 55de70f..60b5201 100644 --- a/c-programming/strings/str_replace.h +++ b/c-programming/strings/str_replace.h @@ -16,6 +16,9 @@ // : parameters // : : count of replacements #define STR_REPLACE_ALL 0 +// : : directions +#define STR_REPLACE_DIR_FORWARD false +#define STR_REPLACE_DIR_BACKWARD true // function definitions char* str_replace(