Module: CoreFoundation

Defined in:
lib/xcodeproj/plist_helper.rb

Overview

TODO:

Move this out into its own gem.

This module provides an interface to the CoreFoundation OS X framework. Specifically it bridges the functions required to be able to read and write property lists.

Everything in here should be considered an implementation detail and thus is not further documented.

Types collapse

NULL =

rubocop:disable Style/ConstantName

Fiddle::NULL
Void =
Fiddle::TYPE_VOID
VoidPointer =
Fiddle::TYPE_VOIDP
FunctionPointer =
VoidPointer
UInt32 =
-Fiddle::TYPE_INT
UInt8 =
-Fiddle::TYPE_CHAR
SInt32Pointer =
VoidPointer
UInt8Pointer =
VoidPointer
CharPointer =
VoidPointer
Boolean =
Fiddle::TYPE_CHAR
TRUE =
1
FALSE =
0
SINT64_MAX =
2**63 - 1
SINT64_MIN =
- 1
SIZEOF_SINT64 =
8
SIZEOF_FLOAT64 =
8
SINT64_PACK_TEMPLATE =
'q'
FLOAT64_PACK_TEMPLATE =
'd'
CFTypeRef =
VoidPointer
CFTypeRefPointer =
VoidPointer
CFIndex =
Fiddle::TYPE_LONG
CFTypeID =
-Fiddle::TYPE_LONG
CFOptionFlags =
UInt32
CFPropertyListMutabilityOptions =
Fiddle::TYPE_INT
KCFPropertyListImmutable =
0
CFPropertyListFormat =
Fiddle::TYPE_INT
KCFPropertyListXMLFormat_v1_0 =
100
CFPropertyListFormatPointer =
VoidPointer
CFStringEncoding =
UInt32
KCFStringEncodingUTF8 =
0x08000100
CFNumberType =
Fiddle::TYPE_INT
KCFNumberSInt64Type =
4
KCFNumberFloat64Type =
6

Constant Summary collapse

PATH =
'/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation'