From 0a2b0e347d926ac0f29c9dd0f49e00634e822d0e Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 5 Oct 2025 14:37:11 +0200 Subject: namespace administration --- include/strops.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/strops.hpp') diff --git a/include/strops.hpp b/include/strops.hpp index 5ecc99a..3a85543 100644 --- a/include/strops.hpp +++ b/include/strops.hpp @@ -16,15 +16,16 @@ #pragma once -#include +#include "config.hpp" namespace strops { size_t copy(char *dst, const char *src, size_t size); char* contains(char* a, char* b); + bool equals(const char* a, const char* b); void replace(char *buf, size_t buf_size, const char *search, const char *replace); - void replace_int32(char *buf, size_t buf_size, const char *search, int32_t number); - void replace_int64(char *buf, size_t buf_size, const char *search, int64_t number); + void replace_int32(char *buf, size_t buf_size, const char *search, s32 number); + void replace_int64(char *buf, size_t buf_size, const char *search, s64 number); void replace_float(char *buf, size_t buf_size, const char *search, float number, int decimals); bool is_prefixed(const char *pre, const char *str); char* get_filename(const char* path); -- cgit v1.2.3-70-g09d2