|
srp
software rendering pipeline
|
How memory allocation is done. More...

| void * | srpMalloc (unsigned long size) |
| void | srpFree (void *p) |
| void * | srpRealloc (void *p, unsigned long size) |
| #define | SRP_MALLOC(s) srpMalloc(s) |
| #define | SRP_REALLOC(p, s) srpRealloc(p, s) |
| #define | SRP_FREE(p) srpFree(p) |
How memory allocation is done.
| void srpFree | ( | void * | p | ) |
free wrapper. Practically useless, but made along with srpMalloc() and srpRealloc().
| void * srpMalloc | ( | unsigned long | size | ) |
malloc wrapper. Checks its return value and calls abort() if it has returned NULL.
| void * srpRealloc | ( | void * | p, |
| unsigned long | size | ||
| ) |
realloc wrapper. Checks its return value and calls abort() if it has returned NULL.