Refactor strings (avoid using dynamically allocated memory)

Refactored strings functions to make them use supplied string
instead of allocating new ones.

Additionally, split String/Int.c into several files to avoid define
mess that was present before.
This commit is contained in:
2025-03-27 22:20:21 +03:00
parent 9025c3d945
commit f9ebeabb18
10 changed files with 519 additions and 384 deletions

View File

@@ -94,7 +94,6 @@ set(BH_SOURCE
src/Util.c
src/String/Int.c
src/String/Float.c
src/String/Core.c
)
set(BH_HEADER
@@ -107,7 +106,6 @@ set(BH_HEADER
include/BH/Queue.h
include/BH/Util.h
include/BH/Thread.h
include
)
set(BH_SOURCE_DUMMY