mirror of
https://github.com/OpenCMT/uLib.git
synced 2025-12-05 23:11:31 +01:00
Removed dependency from ltk
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
CMakeFiles/
|
||||||
|
build/
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <boost/preprocessor.hpp>
|
#include <boost/preprocessor.hpp>
|
||||||
|
|
||||||
#include <ltk/ltktypes.h>
|
//#include <ltk/ltktypes.h>
|
||||||
|
|
||||||
#include "Core/Macros.h"
|
#include "Core/Macros.h"
|
||||||
#include "Core/Mpl.h"
|
#include "Core/Mpl.h"
|
||||||
@@ -69,7 +69,7 @@ struct TypeIntrospection {
|
|||||||
typedef boost::mpl::bool_<value> type;
|
typedef boost::mpl::bool_<value> type;
|
||||||
// };
|
// };
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** IsA Introspectable Object Implementation Template */
|
/** IsA Introspectable Object Implementation Template */
|
||||||
template <class T>
|
template <class T>
|
||||||
@@ -161,12 +161,21 @@ struct TypeIntrospection {
|
|||||||
#define CONSTEXPR BOOST_CONSTEXPR
|
#define CONSTEXPR BOOST_CONSTEXPR
|
||||||
|
|
||||||
|
|
||||||
typedef ltk::Real_t Real_t;
|
//typedef ltk::Real_t Real_t;
|
||||||
typedef ltk::Id_t Id_t;
|
#ifndef LTK_DOUBLE_PRECISION
|
||||||
//typedef ltk::Size_t Size_t;
|
typedef float Real_t;
|
||||||
typedef ltk::Pointer_t Pointer_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)
|
typedef bool Bool_t; //Boolean (0=false, 1=true) (bool)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//--- bit manipulation ---------------------------------------------------------
|
//--- bit manipulation ---------------------------------------------------------
|
||||||
#ifndef BIT
|
#ifndef BIT
|
||||||
#define BIT(n) (1ULL << (n))
|
#define BIT(n) (1ULL << (n))
|
||||||
|
|||||||
Reference in New Issue
Block a user