![]() |
Oyranos Color Management System API |
#include "oyStruct_s.h"
#include "oyObject_s.h"
#include "oyranos_object_internal.h"
#include "oyranos_generic.h"
#include "oyCMMapi9_s.h"
#include "oyCMMapiFilters_s.h"
#include "oyranos_types.h"
#include "oyranos_cmm.h"
Functions | |
oyAlloc_f | oyStruct_GetAllocator (oyStruct_s *obj) |
get the memory allocator of a object More... | |
oyDeAlloc_f | oyStruct_GetDeAllocator (oyStruct_s *obj) |
get the memory allocator of a object More... | |
OYAPI oyPointer OYEXPORT | oyStruct_Allocate (oyStruct_s *st, size_t size) |
let a object allocate some memory More... | |
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... | |
int | oyStruct_CheckType (oyStruct_s *obj, oyOBJECT_e type) |
check if the object is a class or is inherited of a class More... | |
[Template file inheritance graph] +– oyStruct_s.template.c
Oyranos is an open source Color Management System
OYAPI oyPointer OYEXPORT oyStruct_Allocate | ( | oyStruct_s * | st, |
size_t | size | ||
) |
let a object allocate some memory
Function oyStruct_Allocate
References oyStruct_s::oy_.
int 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 oyObjectInfoStatic_s::inheritance, oyStruct_s::oy_, oyOBJECT_INFO_STATIC_S, oyOBJECT_OBJECT_S, oyStruct_GetInfo(), and oyStruct_s::type_.
oyAlloc_f oyStruct_GetAllocator | ( | oyStruct_s * | obj | ) |
get the memory allocator of a object
Function oyStruct_GetAllocator
References oyStruct_s::oy_, and oyStruct_s::type_.
oyDeAlloc_f oyStruct_GetDeAllocator | ( | oyStruct_s * | obj | ) |
get the memory allocator of a object
Function oyStruct_GetDeAllocator
References oyStruct_s::oy_, and oyStruct_s::type_.
int oyThreadLockingReady | ( | void | ) |
tell if thread locking is ready
void oyThreadLockingSet | ( | oyStruct_LockCreate_f | createLockFunc, |
oyLockRelease_f | releaseLockFunc, | ||
oyLock_f | lockFunc, | ||
oyUnLock_f | unlockFunc | ||
) |
set locking functions for threaded applications
Function: oyThreadLockingSet