mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-06 07:21:31 +01:00
Removed dependency from ltk
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <boost/preprocessor.hpp>
|
||||
|
||||
#include <ltk/ltktypes.h>
|
||||
//#include <ltk/ltktypes.h>
|
||||
|
||||
#include "Core/Macros.h"
|
||||
#include "Core/Mpl.h"
|
||||
@@ -69,7 +69,7 @@ struct TypeIntrospection {
|
||||
typedef boost::mpl::bool_<value> type;
|
||||
// };
|
||||
};
|
||||
*/
|
||||
*/
|
||||
|
||||
/** IsA Introspectable Object Implementation Template */
|
||||
template <class T>
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user