From 7384d40f0d992c27881157242a28395279b7deef Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Sat, 9 Jun 2012 22:50:38 +0300 Subject: [PATCH 1/3] Added [u]int{8|16|32|64}_t types --- libmaple/libmaple_types.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libmaple/libmaple_types.h b/libmaple/libmaple_types.h index 08adaff62..4a5b3a712 100644 --- a/libmaple/libmaple_types.h +++ b/libmaple/libmaple_types.h @@ -43,6 +43,20 @@ typedef short int16; typedef int int32; typedef long long int64; +/// +/// @brief [u]int{8|16|32|64}_t types added +/// @note Rei VILO, 2012-06-09 +/// +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; + +typedef signed char int8_t; +typedef short int16_t; +typedef int int32_t; +typedef long long int64_t; + typedef void (*voidFuncPtr)(void); #define __io volatile From 43344a975dcbe352ce34edb69672ff85bda8e602 Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Fri, 15 Jun 2012 21:01:01 +0300 Subject: [PATCH 2/3] #include for standard integer types --- wirish/wirish.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wirish/wirish.h b/wirish/wirish.h index d024f3b98..c6a81565b 100644 --- a/wirish/wirish.h +++ b/wirish/wirish.h @@ -50,6 +50,13 @@ #include "libmaple.h" #include "wirish_types.h" +/// +/// @brief Standard integer types +/// @date 2012-06-15 +/// @note Signed-off-by: Rei VILO, rei_vilo at yahoo dot com +/// +#include + /* Arduino wiring macros and bit defines */ #define true 0x1 From 209fe92cd594531f73008f4ac5384bdfc345a60d Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Fri, 15 Jun 2012 21:03:19 +0300 Subject: [PATCH 3/3] #include for standard integer types in wirish/wirish.h --- libmaple/libmaple_types.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libmaple/libmaple_types.h b/libmaple/libmaple_types.h index 4a5b3a712..08adaff62 100644 --- a/libmaple/libmaple_types.h +++ b/libmaple/libmaple_types.h @@ -43,20 +43,6 @@ typedef short int16; typedef int int32; typedef long long int64; -/// -/// @brief [u]int{8|16|32|64}_t types added -/// @note Rei VILO, 2012-06-09 -/// -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -typedef unsigned long long uint64_t; - -typedef signed char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef long long int64_t; - typedef void (*voidFuncPtr)(void); #define __io volatile