Defines | Typedefs

compiler/c51/stdbool.h File Reference

Go to the source code of this file.

Defines

#define bool   _Bool
#define true   ((bool)1)
#define false   ((bool)0)
#define __bool_true_false_are_defined   1

Typedefs

typedef unsigned char _Bool
 Boolean type.

Detailed Description

Type definitions for firmware projects developed at Nordic Semiconductor.

Standard storage classes in C, such as char, int, and long, are not always interpreted in the same way by the compiler. The types here are defined by their bit length and signed/unsigned property, as their names indicate. The correlation between the name and properties of the storage class should be true, regardless of the compiler being used.

Definition in file stdbool.h.


Define Documentation

#define bool   _Bool

Definition at line 30 of file stdbool.h.

#define true   ((bool)1)

Definition at line 31 of file stdbool.h.

#define false   ((bool)0)

Definition at line 32 of file stdbool.h.

#define __bool_true_false_are_defined   1

Definition at line 33 of file stdbool.h.


Typedef Documentation

typedef unsigned char _Bool

Boolean type.

Definition at line 28 of file stdbool.h.