Some more stdlib (array and vector, untested so far).

This commit is contained in:
2024-01-12 00:13:45 +01:00
parent 164f05bd59
commit ff3214fa5a
23 changed files with 577 additions and 9 deletions

18
stdlib/include/cstdlib Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#if !defined(BAD_APPLE_OS_CSTDLIB_INCLUDED)
#define BAD_APPLE_OS_CSTDLIB_INCLUDED
#include <stdlib.h>
namespace std
{
using ::abort;
using ::malloc;
using ::free;
}
void __ba_registerAllocatableMemory(void* memory, size_t size) noexcept;
#endif // !defined(BAD_APPLE_OS_CSTDLIB_INCLUDED)