CFNumberGetType

Header: CFNumber.h Carbon status: Supported

Obtains the type used by the specified CFNumber object to store its value.

CFNumberType CFNumberGetType (
    CFNumberRef number
);
Parameter descriptions
number

The CFNumber object whose storage type you wish to obtain.

function result

A constant indicating the data type of the value contained in the specified CFNumber object. See CFNumber Type Flags for a list of possible values.

DISCUSSION

The type specified in the call to CFNumberCreate is not necessarily preserved when creating a new CFNumber object. The CFNumber will be created using whatever internal storage type the creation function deems appropriate.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)