view src/sexypsf/types.h @ 2504:9fd51b549097

added a cast to suppress warning
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 02 Apr 2008 12:35:24 +0900
parents 3da1b8942b8b
children
line wrap: on
line source

#ifndef _SPSF_TYPES_H__
#define _SPSF_TYPES_H__

#include <inttypes.h>

#define INLINE inline

typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
        
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;



/* For gcc only? */
#define PACKSTRUCT	__attribute__ ((packed))

#endif