diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-05 14:37:11 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-05 14:37:11 +0200 |
| commit | 0a2b0e347d926ac0f29c9dd0f49e00634e822d0e (patch) | |
| tree | f84ecc1e559227b1435f6647b36d150f4b101585 /include/strops.hpp | |
| parent | cd827834f9ee329c27b82d987f0d1d48a854a954 (diff) | |
namespace administration
Diffstat (limited to 'include/strops.hpp')
| -rw-r--r-- | include/strops.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <stdint.h> +#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); |
