Difference between revisions of "JuiceBox Code Lcd Std Int"
From eLinux.org
m (Bot (Edward's framework)) |
|||
| Line 28: | Line 28: | ||
</pre> | </pre> | ||
| − | [[Category JuiceBox]] | + | [[Category:JuiceBox]] |
Latest revision as of 09:00, 14 July 2007
(file stdint.h)
#ifndef __STDINT_H
#define __STDINT_H
typedef unsigned long int uint32_t;
typedef unsigned short int uint16_t;
typedef unsigned char uint8_t;
typedef long int int32_t;
typedef short int int16_t;
typedef char int8_t;
union
{
char int8_t_incorrect[(sizeof(int8_t)==1)?1:-1];
char uint8_t_incorrect[(sizeof(uint8_t)==1)?1:-1];
char int16_t_incorrect[(sizeof(int16_t)==2)?1:-1];
char uint16_t_incorrect[(sizeof(uint16_t)==2)?1:-1];
char int32_t_incorrect[(sizeof(int32_t)==4)?1:-1];
char uint32_t_incorrect[(sizeof(uint32_t)==4)?1:-1];
} s;
#endif