|
Eneboo - Documentación para desarrolladores
|
Ir al código fuente de este archivo.
'defines' | |
| #define | palloc(sz) MemoryContextAlloc(CurrentMemoryContext, (sz)) |
| #define | palloc0(sz) MemoryContextAllocZero(CurrentMemoryContext, (sz)) |
| #define | palloc0fast(sz) |
| #define | pstrdup(str) MemoryContextStrdup(CurrentMemoryContext, (str)) |
'typedefs' | |
| typedef struct MemoryContextData * | MemoryContext |
Funciones | |
| void * | MemoryContextAlloc (MemoryContext context, Size size) |
| void * | MemoryContextAllocZero (MemoryContext context, Size size) |
| void * | MemoryContextAllocZeroAligned (MemoryContext context, Size size) |
| void | pfree (void *pointer) |
| void * | repalloc (void *pointer, Size size) |
| MemoryContext | MemoryContextSwitchTo (MemoryContext context) |
| char * | MemoryContextStrdup (MemoryContext context, const char *string) |
Variables | |
| DLLIMPORT MemoryContext | CurrentMemoryContext |
| #define palloc | ( | sz | ) | MemoryContextAlloc(CurrentMemoryContext, (sz)) |
| #define palloc0 | ( | sz | ) | MemoryContextAllocZero(CurrentMemoryContext, (sz)) |
| #define palloc0fast | ( | sz | ) |
( MemSetTest(0, sz) ? \ MemoryContextAllocZeroAligned(CurrentMemoryContext, sz) : \ MemoryContextAllocZero(CurrentMemoryContext, sz) )
| #define pstrdup | ( | str | ) | MemoryContextStrdup(CurrentMemoryContext, (str)) |
| typedef struct MemoryContextData* MemoryContext |
| void* MemoryContextAlloc | ( | MemoryContext | context, |
| Size | size | ||
| ) |
| void* MemoryContextAllocZero | ( | MemoryContext | context, |
| Size | size | ||
| ) |
| void* MemoryContextAllocZeroAligned | ( | MemoryContext | context, |
| Size | size | ||
| ) |
| char* MemoryContextStrdup | ( | MemoryContext | context, |
| const char * | string | ||
| ) |
| MemoryContext MemoryContextSwitchTo | ( | MemoryContext | context | ) |
| void pfree | ( | void * | pointer | ) |
| void* repalloc | ( | void * | pointer, |
| Size | size | ||
| ) |
| DLLIMPORT MemoryContext CurrentMemoryContext |
1.7.4