Made window hinting/param system easier
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#define _NB_TYPE_TRAITS
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
namespace nb {
|
||||
|
||||
@@ -29,6 +30,9 @@ namespace detail {
|
||||
};
|
||||
} // namespace detail
|
||||
|
||||
template<typename K, typename V>
|
||||
std::pair<K, V> KeyVal(K key, V val) { return std::pair(key, val); }
|
||||
|
||||
enum TypeCodes {
|
||||
UINT8, UINT16, UINT32, UINT64, INT8, INT16, INT32, INT64,
|
||||
FLOAT16, FLOAT32, DOUBLE64, BOOL, NONE
|
||||
|
||||
Reference in New Issue
Block a user