Added math.h, stdlib.h, float.h, and stbool.h to std folder (and all their implementations). Opted to NOT implement malloc/free/etc. in favor of having our own functions init_mem, grow_mem, and get_mem.

This commit is contained in:
Taylor Robbins (Piggybank Studios)
2025-08-28 13:20:08 -07:00
parent deae3ccd12
commit d0aa7a1d0e
13 changed files with 4868 additions and 2 deletions

20
std/stdbool.h Normal file
View File

@@ -0,0 +1,20 @@
/*
File: stdbool.h
Author: Taylor Robbins
Date: 08\28\2025
*/
#ifndef _STDBOOL_H
#define _STDBOOL_H
#if LANGUAGE_IS_C
#define true 1
#define false 0
#define bool _Bool
#endif
#define __bool_true_false_are_defined 1
#endif // _STDBOOL_H