Sha256: deb9503ad2afd45a4ec8b6e23511b74f2f91f0b965842db976d836a4fae53964

Contents?: true

Size: 1.18 KB

Versions: 21

Compression:

Stored size: 1.18 KB

Contents

//! \file TR1.hpp
//! Includes all parts of C++03 (TR1) that are relevant for Gosu.

#ifndef GOSU_TR1_HPP
#define GOSU_TR1_HPP

#ifdef _MSC_VER
    #include <array>
    #include <memory>
    #include <functional>
    namespace std
    {
        namespace tr1
        {
            typedef unsigned char        uint8_t;
            typedef unsigned short       uint16_t;
            typedef unsigned int         uint32_t;
            typedef unsigned long long   uint64_t;
            typedef signed char          int8_t;
            typedef signed short         int16_t;
            typedef signed int           int32_t;
            typedef signed long long     int64_t;
        }
    }
#else
    #include <tr1/array>
    #include <tr1/memory>
    #include <tr1/functional>
    #if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC_MINOR__ < 2)
        #include <stdint.h>
        namespace std
        {
            namespace tr1
            {
                using ::int8_t;  using ::int16_t;  using ::int32_t;  using ::int64_t;
                using ::uint8_t; using ::uint16_t; using ::uint32_t; using ::uint64_t;
            }
        }
    #else
        #include <tr1/cstdint>
    #endif
#endif

#endif

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gosu-0.7.40 Gosu/TR1.hpp
gosu-0.7.40-x86-mingw32 Gosu/TR1.hpp
gosu-0.7.40-universal-darwin Gosu/TR1.hpp
gosu-0.7.39 Gosu/TR1.hpp
gosu-0.7.39-x86-mingw32 Gosu/TR1.hpp
gosu-0.7.39-universal-darwin Gosu/TR1.hpp
gosu-0.7.38 Gosu/TR1.hpp
gosu-0.7.38-i386-mingw32 Gosu/TR1.hpp
gosu-0.7.38-universal-darwin Gosu/TR1.hpp
gosu-0.7.37 Gosu/TR1.hpp
gosu-0.7.37-i386-mingw32 Gosu/TR1.hpp
gosu-0.7.37-universal-darwin Gosu/TR1.hpp
gosu-0.7.36.2 Gosu/TR1.hpp
gosu-0.7.36.2-i386-mingw32 Gosu/TR1.hpp
gosu-0.7.36.2-universal-darwin Gosu/TR1.hpp
gosu-0.7.36.1-i386-mingw32 Gosu/TR1.hpp
gosu-0.7.36.1-universal-darwin Gosu/TR1.hpp
gosu-0.7.36-i386-mingw32 Gosu/TR1.hpp
gosu-0.7.35 Gosu/TR1.hpp
gosu-0.7.35-i386-mingw32 Gosu/TR1.hpp