Made window hinting/param system easier

This commit is contained in:
NaifBanana
2026-10-12 16:54:36 -05:00
parent c6ab0327c1
commit 416446206f
4 changed files with 46 additions and 70 deletions
@@ -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