mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
bdf439a18f
- Enable 32 bit mode - Remove spurious warning during compilation
18 lines
323 B
C
18 lines
323 B
C
// Type definitions for desktop platform
|
|
#ifndef __TYPE_H__
|
|
#define __TYPE_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
// signed and unsigned 8, 16 and 32 bit types
|
|
typedef uint8_t u8;
|
|
typedef uint16_t u16;
|
|
typedef uint32_t u32;
|
|
typedef int8_t s8;
|
|
typedef int16_t s16;
|
|
typedef int32_t s32;
|
|
typedef uint64_t u64;
|
|
typedef int64_t s64;
|
|
|
|
#endif
|