Skip to content

Commit af606a0

Browse files
committed
feat: deprecate boolean typedef in favor of bool
Ref: arduino#242 Signed-off-by: Aymane Bahssain <[email protected]>
1 parent 0f4e57e commit af606a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ typedef void (*voidFuncPtrParam)(void*);
9393
#endif
9494

9595
/* TODO: request for removal */
96-
typedef bool boolean;
96+
typedef bool boolean __attribute__((deprecated));
9797
typedef uint8_t byte;
9898
typedef uint16_t word;
9999

0 commit comments

Comments
 (0)