Fix type_name compilation on OS X

Reverts 2986932f31. There are more types
of ints than sizes of ints, so using the stdint types doesn't work.
This commit is contained in:
Thomas Goyne 2015-02-07 14:35:17 -08:00
parent 2269dbcfe0
commit 01558bf10d

View file

@ -26,14 +26,14 @@ template<typename T> struct type_name;
AGI_DEFINE_TYPE_NAME(bool); AGI_DEFINE_TYPE_NAME(bool);
AGI_DEFINE_TYPE_NAME(char); AGI_DEFINE_TYPE_NAME(char);
AGI_DEFINE_TYPE_NAME(double);
AGI_DEFINE_TYPE_NAME(float); AGI_DEFINE_TYPE_NAME(float);
AGI_DEFINE_TYPE_NAME(int16_t); AGI_DEFINE_TYPE_NAME(double);
AGI_DEFINE_TYPE_NAME(int32_t); AGI_DEFINE_TYPE_NAME(int);
AGI_DEFINE_TYPE_NAME(int64_t); AGI_DEFINE_TYPE_NAME(long);
AGI_DEFINE_TYPE_NAME(uint16_t); AGI_DEFINE_TYPE_NAME(long long);
AGI_DEFINE_TYPE_NAME(uint32_t); AGI_DEFINE_TYPE_NAME(unsigned int);
AGI_DEFINE_TYPE_NAME(uint64_t); AGI_DEFINE_TYPE_NAME(unsigned long);
AGI_DEFINE_TYPE_NAME(unsigned long long);
AGI_DEFINE_TYPE_NAME(void); AGI_DEFINE_TYPE_NAME(void);
#undef AGI_TYPE_NAME_PRIMITIVE #undef AGI_TYPE_NAME_PRIMITIVE