14 void ShowMacDialog(
const char *title,
const char *message,
const char *button_label);
16 void GetMacOSVersion(
int *return_major,
int *return_minor,
int *return_bugfix);
27 int version_major, version_minor, version_bugfix;
28 GetMacOSVersion(&version_major, &version_minor, &version_bugfix);
30 if (version_major < major)
return false;
31 if (version_major == major && version_minor < minor)
return false;
32 if (version_major == major && version_minor == minor && version_bugfix < bugfix)
return false;
37 bool IsMonospaceFont(CFStringRef name);
39 void MacOSSetThreadName(
const char *name);
41 uint64_t MacOSGetPhysicalMemory();
48 if (p) ::CFRelease(p);