Oyranos Color Management System API - Version 0.9.6
Typedefs
oyranos_types.h File Reference

public types of Oyranos APIs More...

#include <stdlib.h>
#include <stdint.h>

Typedefs

typedef void *(* oyAlloc_f )(size_t size)
typedef void(* oyDeAlloc_f )(void *data)

Detailed Description

public types of Oyranos APIs

Oyranos is an open source Color Management System

Copyright:
2004-2010 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD http://www.opensource.org/licenses/BSD-3-Clause
Since
2010/11/16

Typedef Documentation

typedef void*(* oyAlloc_f)(size_t size)
Parameters
[in]sizethe size to allocate

Place here your allocator, like:

void* myAllocFunc (size_t size)
{ return malloc (size);
}


Examples:
image_display.cpp, and oyranos_cmm_oJPG.c.
typedef void(* oyDeAlloc_f)(void *data)
Parameters
[in]datathe pointer to free

Place here your deallocator, like:

void* myDeAllocFunc (void *data)
{ return free (data);
}