Oyranos Color Management System API
Namespaces | Typedefs
oyranos_types.h File Reference

public types of Oyranos APIs More...

#include <stdlib.h>
#include <inttypes.h>

Namespaces

 oyranos
 The Oyranos namespace.
 

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-license.php
Since
2010/11/16

Typedef Documentation

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

Place here your allocator, like:

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


typedef void(* oyDeAlloc_f) (void *data)
Parameters
[in]datathe pointer to free

Place here your deallocator, like:

1 void* myDeAllocFunc (void *data)
2 { return free (data);
3 }