B+IMU+SD
Dependencies: BMI160 RTC SDFileSystem USBDevice max32630fthr
Fork of MPSMAXbutton by
Diff: src/sc_types.h
- Revision:
- 0:769c5a7b3939
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/sc_types.h Mon May 07 21:28:03 2018 +0000 @@ -0,0 +1,43 @@ + +#ifndef SC_TYPES_H_ +#define SC_TYPES_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include <stdint.h> +#include <stdbool.h> + +#define sc_string char* + +typedef bool sc_boolean; +typedef int_fast16_t sc_short; +typedef uint_fast16_t sc_ushort; +typedef int32_t sc_integer; +typedef uint32_t sc_uinteger; + +typedef double sc_real; + +typedef void* sc_eventid; + +typedef intptr_t sc_intptr_t; + +#ifdef __cplusplus +} +#endif + +#ifndef null + #ifdef __cplusplus + #define null 0 + #else + #define null ((void *)0) + #endif +#endif + +#define bool_true true +#define bool_false false + +#endif /* SC_TYPES_H_ */ +