![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Data Structures | |
struct | oyStruct_s |
Oyranos base structure. More... | |
Typedefs | |
typedef oyStruct_s *(* | oyStruct_Copy_f) (oyStruct_s *, oyPointer) |
reference a object or with second argument present do a copy More... | |
typedef int(* | oyStruct_Release_f) (oyStruct_s **) |
release object More... | |
typedef oyPointer(* | oyStruct_LockCreate_f) (oyStruct_s *obj) |
create a lock object More... | |
Functions | |
void | oyThreadLockingSet (oyStruct_LockCreate_f createLockFunc, oyLockRelease_f releaseLockFunc, oyLock_f lockFunc, oyUnLock_f unlockFunc) |
set locking functions for threaded applications More... | |
int | oyThreadLockingReady (void) |
tell if thread locking is ready More... | |
void | oyThreadLockingReset () |
unset locking functions for threaded applications More... | |
OYAPI oyAlloc_f OYEXPORT | oyStruct_GetAllocator (oyStruct_s *obj) |
get the memory allocator of a object More... | |
OYAPI oyDeAlloc_f OYEXPORT | oyStruct_GetDeAllocator (oyStruct_s *obj) |
get the memory allocator of a object More... | |
OYAPI int OYEXPORT | oyStruct_CheckType (oyStruct_s *obj, oyOBJECT_e type) |
check if the object is a class or is inherited of a class More... | |
OYAPI oyPointer OYEXPORT | oyStruct_Allocate (oyStruct_s *st, size_t size) |
let a object allocate some memory More... | |
OYAPI void OYEXPORT | oyStruct_DeAllocate (oyStruct_s *st, oyPointer ptr) |
let a object deallocate some memory More... | |
[Template file inheritance graph] +– oyStruct_s.template.h
Oyranos is an open source Color Management System
typedef oyStruct_s*(* oyStruct_Copy_f) (oyStruct_s *, oyPointer) |
reference a object or with second argument present do a copy
typedef oyPointer(* oyStruct_LockCreate_f) (oyStruct_s *obj) |
create a lock object
typedef int(* oyStruct_Release_f) (oyStruct_s **) |
release object
OYAPI oyPointer OYEXPORT oyStruct_Allocate | ( | oyStruct_s * | st, |
size_t | size | ||
) |
let a object allocate some memory
Function oyStruct_Allocate
OYAPI int OYEXPORT oyStruct_CheckType | ( | oyStruct_s * | obj, |
oyOBJECT_e | type | ||
) |
check if the object is a class or is inherited of a class
Function oyStruct_CheckType
References oyStruct_s::type_.
OYAPI void OYEXPORT oyStruct_DeAllocate | ( | oyStruct_s * | st, |
oyPointer | ptr | ||
) |
let a object deallocate some memory
Function oyStruct_DeAllocate
OYAPI oyAlloc_f OYEXPORT oyStruct_GetAllocator | ( | oyStruct_s * | obj | ) |
get the memory allocator of a object
Function oyStruct_GetAllocator
References oyStruct_s::type_.
OYAPI oyDeAlloc_f OYEXPORT oyStruct_GetDeAllocator | ( | oyStruct_s * | obj | ) |
get the memory allocator of a object
Function oyStruct_GetDeAllocator
References oyStruct_s::type_.