00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef CSR_TYPES_H__
00010 #define CSR_TYPES_H__
00011
00012 #include <oska/types.h>
00013
00014 #ifndef FALSE
00015 #define FALSE false
00016 #endif
00017
00018 #ifndef TRUE
00019 #define TRUE true
00020 #endif
00021
00022
00023
00024 typedef size_t CsrSize;
00025
00026 typedef uint8_t CsrUint8;
00027 typedef uint16_t CsrUint16;
00028 typedef uint32_t CsrUint32;
00029
00030 typedef int8_t CsrInt8;
00031 typedef int16_t CsrInt16;
00032 typedef int32_t CsrInt32;
00033
00034 typedef bool CsrBool;
00035
00036 typedef char CsrCharString;
00037 typedef unsigned char CsrUtf8String;
00038 typedef CsrUint16 CsrUtf16String;
00039 typedef CsrUint32 CsrUint24;
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #define CSR_HAVE_64_BIT_INTEGERS
00050 typedef uint64_t CsrUint64;
00051 typedef int64_t CsrInt64;
00052
00053 #endif