CFIndex |
Header: CFBase.h |
An integer type used throughout Core Foundation in several programmatic roles: as an array index and for count, size, and length parameters and return values.
typedef SInt32 CFIndex;
Core Foundation types as CFIndex all parameters and return values that might grow over time as the processor's address size changes. On architectures where pointer sizes are a different size (say, 64 bits) CFIndex might be declared to be also 64 bits, independent of the size of int. If you type your own variables that interact with Core Foundation as CFIndex, your code will have a higher degree of source compatibility in the future.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)