fix(kcp, IDT, Heap, kernel): Various fixes, scrap broken memory allocator

This commit is contained in:
Daniel Hammer
2025-03-11 20:00:04 +01:00
parent b774f82625
commit cc094a9172
23 changed files with 18910 additions and 195 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <cstdint>
#include <cstddef>
namespace Lib {
inline int strlen(const char *string) {
int c = 0;
while (*string != '\0') {
string++;
c++;
}
return c;
}
char *int2basestr(int num, size_t radix);
char *u64_2_basestr(uint64_t num, size_t radix);
char *uint2basestr(uint32_t num, size_t radix);
}