#include <CoreGraphics/CoreGraphics.h>

//work


/*CGDataConsumerRelease

Decrements the retain count of a data consumer.

void CGDataConsumerRelease (
   CGDataConsumerRef consumer
);
Parameters
consumer

The data consumer to release. 
Discussion

This function is equivalent to CFRelease, except that it does not cause an error if the consumer parameter is NULL.
Availability
Available in Mac OS X version 10.0 and later.
Declared In
CGDataConsumer.h*/
void CGDataConsumerRelease (
   CGDataConsumerRef consumer
){};

/*CGDataConsumerCreate

Creates a Quartz data consumer.

CGDataConsumerRef CGDataConsumerCreate (
   void *info,
   const CGDataConsumerCallbacks * callbacks
);
Parameters
info

A pointer to data of any type or NULL. When Quartz calls the functions specified in the callbacks parameter, it passes this pointer as the info parameter.
callbacks

A pointer to a CGDataConsumerCallbacks structure that specifies the callback functions you implement to copy data sent to the consumer and to handle the consumer’s basic memory management. For a complete description, see CGDataConsumerCallbacks. 
Return Value

A new data consumer object. You are responsible for releasing this object using CGDataConsumerRelease.
Availability
Available in Mac OS X version 10.0 and later.
Declared In
CGDataConsumer.h*/
CGDataConsumerRef CGDataConsumerCreate (
   void *info,
   const CGDataConsumerCallbacks * callbacks
){};

