6 #ifndef _INC_GrayCore_H
7 #define _INC_GrayCore_H 0x003
23 #ifndef USE_UNICODE_FN
24 #define USE_UNICODE_FN USE_UNICODE
33 #define GRAY_NAME Gray
34 #define GRAY_NAMES "Gray"
36 #define GRAYCALL __stdcall
38 #if ! defined(GRAY_STATICLIB)
44 #if defined(_MFC_VER) || defined(GRAY_STATICLIB)
47 #define GRAYCORE_LINK __DECL_IMPORT
51 #if defined(_DEBUG) || ! defined(_MSC_VER)
54 #define _LOCCALL __fastcall
57 #if defined(__GNUC__) || (! defined(_MSC_VER)) || (_MSC_VER < 1600)
58 #define __noop ((void)0)
61 #if defined(_MSC_VER) && _MSC_VER <= 1600
67 #define IS_DELETE = delete
70 #if defined(_MSC_VER) && _MSC_VER <= 1916
73 #define NOEXCEPT noexcept
77 #define IGNORE_WARN_INTERFACE(c) virtual ~c() {}
79 #define IGNORE_WARN_INTERFACE(c)
81 #define IGNORE_WARN_ABSTRACT(c) virtual ~c() {}
84 #if defined(__MINGW32__)
85 #define CATTR_PACKED __attribute__((packed))
91 #define CATTR_NORETURN __declspec(noreturn)
93 #define CATTR_NORETURN __attribute__((noreturn))
97 #define CATTR_CONSTRUCTOR __attribute__((constructor))
98 #define CATTR_DESTRUCTOR __attribute__((destructor))
100 #define CATTR_CONSTRUCTOR
101 #define CATTR_DESTRUCTOR
106 #define CATTR_DEPRECATEDAT(versionNumber, alternative) __attribute__((deprecated))
107 #define CATTR_DEPRECATED __attribute__((deprecated))
108 #elif _MSC_VER >= 1400
109 #define CATTR_DEPRECATEDAT(versionNumber, alternative) __declspec(deprecated("[" #versionNumber "] This function is now deprecated. Please use '" #alternative "' instead."))
110 #define CATTR_DEPRECATED
112 #define CATTR_DEPRECATEDAT(versionNumber, alternative)
113 #define CATTR_DEPRECATED
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
const HASHCODE_t k_HASHCODE_CLEAR
not a valid index.
Definition: GrayCore.h:118
UINT_PTR HASHCODE_t
could hold a pointer converted to a number? maybe 64 or 32 bit ? same as size_t.
Definition: GrayCore.h:116
UINT32 HASHCODE32_t
always 32 bits.
Definition: GrayCore.h:117