diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebf7767 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +CMakeFiles/ +build/ + diff --git a/src/Core/Types.h b/src/Core/Types.h index e2782d2..7760e88 100644 --- a/src/Core/Types.h +++ b/src/Core/Types.h @@ -33,7 +33,7 @@ #include -#include +//#include #include "Core/Macros.h" #include "Core/Mpl.h" @@ -69,7 +69,7 @@ struct TypeIntrospection { typedef boost::mpl::bool_ type; // }; }; - */ + */ /** IsA Introspectable Object Implementation Template */ template @@ -161,12 +161,21 @@ struct TypeIntrospection { #define CONSTEXPR BOOST_CONSTEXPR -typedef ltk::Real_t Real_t; -typedef ltk::Id_t Id_t; -//typedef ltk::Size_t Size_t; -typedef ltk::Pointer_t Pointer_t; +//typedef ltk::Real_t Real_t; +#ifndef LTK_DOUBLE_PRECISION +typedef float Real_t; +#else +typedef double Real_t; +#endif +//typedef ltk::Id_t Id_t; +typedef id_t Id_t; +////typedef ltk::Size_t Size_t; +//typedef ltk::Pointer_t Pointer_t; +typedef void * Pointer_t; typedef bool Bool_t; //Boolean (0=false, 1=true) (bool) + + //--- bit manipulation --------------------------------------------------------- #ifndef BIT #define BIT(n) (1ULL << (n))