typeDef.h
Abstract
Type definitions on SSTD. These definitions are read by #include <sstd/sstd.hpp>
.
SSTD における型の定義.#include <sstd/sstd.hpp>
により定義が読み込まれる.
Header file
#pragma once
#ifdef _WIN32
typedef unsigned char uchar;
typedef __int8 int8;
typedef __int16 int16;
typedef __int32 int32;
typedef __int64 int64;
typedef unsigned __int8 uint8;
typedef unsigned __int16 uint16;
typedef unsigned __int32 uint32;
typedef unsigned __int64 uint64;
#else
#include <stdint.h> // intXX_t, uintXX_t が定義されている
typedef unsigned char uchar;
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef uint64_t uint64;
#endif
#ifndef uint
typedef unsigned int uint;
#endif
Implementation
- Header: sstd/src/typeDef.hpp