Init core

This commit is contained in:
Krzosa Karol
2023-12-31 07:44:32 +01:00
commit 11e6559a3c
22 changed files with 10489 additions and 0 deletions

26
core.h Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include "preproc_env.h"
#include "stb_sprintf.h"
#include "io.h"
#include "arena.h"
#include "string.h"
#include "unicode.h"
#include "hash.h"
#include "linked_list.h"
#include "regex.h"
#include "multimedia.h"
#include "load_library.h"
#include "filesystem.h"
#ifdef __cplusplus
#include "defer.hpp"
#define TABLE_ASSERT IO_Assert
#define TABLE_SET_DEFAULT_ALLOCATOR \
if (!allocator.p) allocator = M_GetSystemAllocator();
#include "table.hpp"
#define ARRAY_ASSERT IO_Assert
#define ARRAY_ALLOCATOR_TYPE M_Allocator
#define ARRAY_SET_DEFAULT_ALLOCATOR \
if (!allocator.p) allocator = M_GetSystemAllocator();
#include "array.hpp"
#endif