/chakra/desktop/oyranos/src/oyranos-0.9.6/src/include/oyranos_types.h File Reference
Description: C source code API documentation for the Oyranos project.
Keywords: Oyranos,Color Management,Color Management,ICC,CMS,C,doxygen,API,documentation

| 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

## ◆ oyAlloc_f

typedef void*(* oyAlloc_f) (size_t size)

Parameters

  [in] | size | the 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.

## ◆ oyDeAlloc_f

typedef void(* oyDeAlloc_f) (void *data)

Parameters

  [in] | data | the pointer to free

Place here your deallocator, like:

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