moved headers to include/tlibc

This commit is contained in:
Timerix 2025-07-21 16:10:01 +03:00
parent e16a0035a4
commit 7e5b1ea9bb
13 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#include "collections/HashMap.h" #include "tlibc/collections/HashMap.h"
#include <assert.h> #include <assert.h>
//TODO: sort bucket keys for binary search //TODO: sort bucket keys for binary search

View File

@ -1,4 +1,4 @@
#include "collections/List.h" #include "tlibc/collections/List.h"
List List_alloc_size(u32 initial_size){ List List_alloc_size(u32 initial_size){
if(initial_size == 0) if(initial_size == 0)

View File

@ -1,4 +1,4 @@
#include "string/StringBuilder.h" #include "tlibc/string/StringBuilder.h"
void StringBuilder_destroy(StringBuilder* b){ void StringBuilder_destroy(StringBuilder* b){
free(b->buffer.data); free(b->buffer.data);

View File

@ -1,4 +1,4 @@
#include "string/cstr.h" #include "tlibc/string/cstr.h"
#include <stdarg.h> #include <stdarg.h>
char* _strcat_malloc(size_t n, cstr str0, ...){ char* _strcat_malloc(size_t n, cstr str0, ...){

View File

@ -1,5 +1,5 @@
#include "string/str.h" #include "tlibc/string/str.h"
#include "string/StringBuilder.h" #include "tlibc/string/StringBuilder.h"
str str_copy(str src){ str str_copy(str src){
if(src.data == NULL || src.size == 0) if(src.data == NULL || src.size == 0)