Structure

CFMachPortContext

A structure that contains program-defined data and callbacks with which you can configure a CFMachPort object’s behavior.

Declaration

typedef struct {
    ...
} CFMachPortContext;

Topics

Instance Properties

copyDescription

A copy description callback for your program-defined info pointer. Can be NULL.

info

An arbitrary pointer to program-defined data, which can be associated with the CFMachPort object at creation time. This pointer is passed to all the callbacks defined in the context.

release

A release callback for your program-defined info pointer. Can be NULL.

retain

A retain callback for your program-defined info pointer. Can be NULL.

version

Version number of the structure. Must be 0.