moved headers to include/tlibc
This commit is contained in:
parent
e16a0035a4
commit
7e5b1ea9bb
@ -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
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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, ...){
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user