12 #define __fileDECL __clrcall
14 #define __fileDECL __cdecl
45 #define __COMPARE(context, p1, p2) (*compare)(context, p1, p2)
47 #define __COMPARE(context, p1, p2) (*compare)(p1, p2)
57 void const*
const key,
58 void const*
const base,
66 void const*
const key,
67 void const*
const base,
78 char const* lo =
reinterpret_cast<char const*
>(
base);
82 __crt_state_management::scoped_global_state_reset saved_state;
90 size_t const half =
num / 2;
93 char const*
const mid = lo + (
num & 1 ? half : (half - 1)) *
width;
98 return const_cast<void*
>(
static_cast<void const*
>(mid));
103 num =
num & 1 ? half : half - 1;
115 :
const_cast<void*
>(
static_cast<void const*
>(lo));
#define __COMPARE(context, p1, p2)
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
GLint GLint GLsizei width
#define _CRT_SECURITYSAFECRITICAL_ATTRIBUTE