Sha256: 72834cfa1eadf37b4e521b462437abc3730edf4e002f30c5849eb5b36fe5828f
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 KB
Contents
/* ========================================================================= Ceedling - Test-Centered Build System for C ThrowTheSwitch.org Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams SPDX-License-Identifier: MIT ========================================================================= */ #ifndef _MYTYPES_H_ #define _MYTYPES_H_ #include <math.h> // Application Type Definitions typedef unsigned int uint32; typedef int int32; typedef unsigned short uint16; typedef short int16; typedef unsigned char uint8; typedef char int8; typedef char bool; // Application Special Value Definitions #ifndef TRUE #define TRUE (1) #endif #ifndef FALSE #define FALSE (0) #endif #ifndef NULL #define NULL (0) #endif // NULL #define DONT_CARE (0) #ifndef INFINITY #define INFINITY (1.0 / 0.0) #endif #ifndef NAN #define NAN (0.0 / 0.0) #endif // MIN/MAX Definitions for Standard Types #ifndef INT8_MAX #define INT8_MAX 127 #endif #ifndef INT8_MIN #define INT8_MIN (-128) #endif #ifndef UINT8_MAX #define UINT8_MAX 0xFFU #endif #ifndef UINT8_MIN #define UINT8_MIN 0x00U #endif #ifndef INT16_MAX #define INT16_MAX 32767 #endif #ifndef INT16_MIN #define INT16_MIN (-32768) #endif #ifndef UINT16_MAX #define UINT16_MAX 0xFFFFU #endif #ifndef UINT16_MIN #define UINT16_MIN 0x0000U #endif #ifndef INT32_MAX #define INT32_MAX 0x7FFFFFFF #endif #ifndef INT32_MIN #define INT32_MIN (-INT32_MAX - 1) #endif #ifndef UINT32_MAX #define UINT32_MAX 0xFFFFFFFFU #endif #ifndef UINT32_MIN #define UINT32_MIN 0x00000000U #endif typedef struct _EXAMPLE_STRUCT_T { int x; int y; } EXAMPLE_STRUCT_T; #endif // _MYTYPES_H_
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | examples/temp_sensor/src/Types.h |
ceedling-1.0.0 | examples/temp_sensor/src/Types.h |