Companion
Helper for calling Core Foundation functions, and bridging exceptions across.
Usage:
corecall { SomeCoreFoundationFunction(arg1, arg2, ..., error) }
Content copied to clipboard
error
is provided by the implicit receiver object, and will be mapped to a CoreFoundationException
if an error occurs.