PS2SDK
PS2 Homebrew Libraries
alloc.h File Reference
#include <types.h>
#include <irx.h>
+ Include dependency graph for alloc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define alloc_IMPORTS_start   DECLARE_IMPORT_TABLE(alloc, 1, 1)
 
#define alloc_IMPORTS_end   END_IMPORT_TABLE
 
#define I_malloc   DECLARE_IMPORT(4, malloc)
 
#define I_realloc   DECLARE_IMPORT(5, realloc)
 
#define I_free   DECLARE_IMPORT(6, free)
 
#define I_calloc   DECLARE_IMPORT(7, calloc)
 
#define I_memalign   DECLARE_IMPORT(8, memalign)
 
#define I___mem_walk_begin   DECLARE_IMPORT(9, __mem_walk_begin)
 
#define I___mem_walk_read   DECLARE_IMPORT(10, __mem_walk_read)
 
#define I___mem_walk_inc   DECLARE_IMPORT(11, __mem_walk_inc)
 
#define I___mem_walk_end   DECLARE_IMPORT(12, __mem_walk_end)
 

Functions

void * malloc (size_t size)
 
void * realloc (void *ptr, size_t size)
 
void free (void *ptr)
 
void * calloc (size_t n, size_t size)
 
void * memalign (size_t align, size_t size)
 
void * __mem_walk_begin ()
 
void __mem_walk_read (void *token, u32 *size, void **ptr, int *valid)
 
void * __mem_walk_inc (void *token)
 
int __mem_walk_end (void *token)
 

Detailed Description

Basic alloc library

Definition in file alloc.h.