Hi evereyone,
I've seen in many libraries to define new data types names. For example I was looking this
What is the reason behind this? I mean, I know the purpose of typedef but I cannot see the reason of changing the name for example from int8_t to BSX_S8Code:/** C99 standard */ typedef int16_t BSX_S16; /**< signed short */ typedef uint16_t BSX_U16; /**<unsigned short */ typedef int32_t BSX_S32; /**<signed int */ typedef uint32_t BSX_U32; /**<unsigned int */ typedef int8_t BSX_S8; /**< signed char */ typedef uint8_t BSX_U8; /**< unsigned char */ typedef int64_t BSX_S64; /**< signed long long */ typedef uint64_t BSX_U64; /**< unsigned long long*/ typedef uint8_t BSX_BIT; /**< unsigned char */ typedef uint32_t BSX_BOOL;/**<unsigned int */
Thanks in advance
Nick