Files
ICCery-CPU/Bridging-Header.h
T
Local Admin 1c53e698aa
Build macOS Packages / Build macOS (Intel) (push) Failing after 15s
Build macOS Packages / Build macOS (Apple Silicon) (push) Failing after 29s
Build macOS Packages / Build macOS (Universal) (push) Skipped
build fixes
2026-09-07 06:11:55 -07:00

17 lines
619 B
Objective-C

// Bridging-Header.h
// ICCery Colour Print Utility — TargetPrint
// SPEC §3: libcups via Objective-C bridging. No third-party headers.
#import <cups/cups.h>
#import <cups/ppd.h>
// The Swift CUPS overlay marks cupsGetPPD unavailable ("use cupsCopyDestInfo").
// SPEC §10 still requires the PPD file for AirPrint detection and vendor
// colour-bypass keys, so we call the C symbol through this wrapper.
static inline const char *TPCupsGetPPD(const char *name) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
return cupsGetPPD(name);
#pragma clang diagnostic pop
}