#include <ngc/core/ngcpp.h>Macros | |
| #define | _LARGEFILE64_SOURCE |
| #define | ngcpp64BIT (sizeof(void *) >= 8) |
Functions | |
| void * | ngcppBurstAlloc (size_t size) |
| void | ngcppBurstFree (void *buffer, size_t size) |
| void * | ngcppAttachBuf (void *buffer, off_t offset, size_t size, size_t *mapSize) |
| void | ngcppDetachBuf (void *buffer, size_t size) |
Variables | |
| int | ngcppDiskMem = 0 |
| int | ngcppDiskMemIdx = 1 |
| char | ngcppDiskMemPath [256] |
| #define _LARGEFILE64_SOURCE |
| #define ngcpp64BIT (sizeof(void *) >= 8) |
| void * ngcppAttachBuf | ( | void * | buffer, |
| off_t | offset, | ||
| size_t | size, | ||
| size_t * | mapSize ) |
Attach to buffer.
| void * ngcppBurstAlloc | ( | size_t | size | ) |
Return a pointer to the allocated buffer. In case of failure a NULL-pointer is returned.
| void ngcppBurstFree | ( | void * | buffer, |
| size_t | size ) |
Free the memory allocated with ngcppBurstAlloc().
| void ngcppDetachBuf | ( | void * | buffer, |
| size_t | size ) |
Detach from buffer.
| int ngcppDiskMem = 0 |
Disk memory extension flag
| int ngcppDiskMemIdx = 1 |
Disk memory index
| char ngcppDiskMemPath[256] |
disk memory path