this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update ColorSync header to work when included in C++

+10 -2
+10 -2
src/frameworks/ColorSync/include/ColorSync/ColorSync.h
··· 23 23 24 24 #include <CoreFoundation/CoreFoundation.h> 25 25 26 + #ifdef __cplusplus 27 + extern "C" { 28 + #endif 29 + 26 30 void* CGDisplayCreateUUIDFromDisplayID(void); 27 31 void* CGDisplayGetDisplayIDFromUUID(void); 28 32 void* CMProfileFromColorSyncProfile(void); ··· 131 135 // fixed-up declarations 132 136 133 137 CFUUIDRef ColorSyncCreateUUIDFromUInt32(unsigned int uuid); 134 - bool ColorSyncRegisterDevice(CFStringRef class, CFUUIDRef uuid, CFDictionaryRef info); 135 - bool ColorSyncUnregisterDevice(CFStringRef class, CFUUIDRef uuid); 138 + bool ColorSyncRegisterDevice(CFStringRef deviceClass, CFUUIDRef uuid, CFDictionaryRef info); 139 + bool ColorSyncUnregisterDevice(CFStringRef deviceClass, CFUUIDRef uuid); 136 140 137 141 extern CFStringRef kColorSyncDeviceProfileURL; 138 142 extern CFStringRef kColorSyncDeviceModeDescriptions; ··· 142 146 extern CFStringRef kColorSyncDeviceUserScope; 143 147 extern CFStringRef kColorSyncDeviceHostScope; 144 148 extern CFStringRef kColorSyncPrinterDeviceClass; 149 + 150 + #ifdef __cplusplus 151 + }; 152 + #endif 145 153 146 154 #endif