0

I want to access MacOSX C functions from Common Lisp via CFFI and need typedefs from header files.

In

/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CFArray.h

there is this line:

typedef const struct __CFArray * CFArrayRef;

Where do I find the definition of __CFArray?

Jens Teich
  • 337
  • 1
  • 7

1 Answers1

1

You can find it here as it is part of Apple open source code.

struct __CFArray {
    CFRuntimeBase _base;
    CFIndex _count;         /* number of objects */
    CFIndex _mutations;
    void *_store;           /* can be NULL when MutableDeque */
};
Rafał Augustyniak
  • 2,011
  • 19
  • 14