Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

CFNull Reference

Derived from
Framework
CoreFoundation/CoreFoundation.h
Companion guide
Declared in
CFBase.h

Overview

The CFNull opaque type defines a unique object used to represent null values in collection objects (which don’t allow NULL values). CFNull objects are neither created nor destroyed. Instead, a single CFNull constant object—kCFNull—is defined and is used wherever a null value is needed.

The CFNull opaque type is available in Mac OS X v10.2 and later.

Functions

CFNullGetTypeID

Returns the type identifier for the CFNull opaque type.

CFTypeID CFNullGetTypeID (
   void
);

Return Value

The type identifier for the CFNull opaque type.

Availability
Declared In
CFBase.h

Data Types

CFNullRef

A reference to a CFNull object.

typedef const struct __CFNull *CFNullRef;

Availability
Declared In
CFBase.h

Constants

Predefined Value

Predefined CFNull object.

const CFNullRef kCFNull;

Constants
kCFNull

The singleton CFNull object.

Available in Mac OS X v10.2 and later.

Declared in CFBase.h



Next Page > Hide TOC


Last updated: 2005-12-06




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice