2024-02-08 02:48:14 -07:00
|
|
|
#ifndef ARC_STD_BOOL_H_
|
|
|
|
|
#define ARC_STD_BOOL_H_
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
2024-12-30 05:22:02 -07:00
|
|
|
//allows the boolean type to be overridden (example could be overriding for opengl booleans)
|
|
|
|
|
#ifndef ARC_BOOL_OVERRIDE
|
|
|
|
|
|
2024-02-08 02:48:14 -07:00
|
|
|
#define ARC_Bool bool
|
|
|
|
|
#define ARC_True true
|
|
|
|
|
#define ARC_False false
|
|
|
|
|
|
2024-12-30 05:22:02 -07:00
|
|
|
#endif
|
|
|
|
|
|
2024-02-08 02:48:14 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-03-28 04:30:45 -06:00
|
|
|
#endif // !ARC_STD_BOOL_H_
|