ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
recycle.h File Reference
#include "standard.h"
+ Include dependency graph for recycle.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  recycle
 
struct  reroot
 

Macros

#define RESTART   0
 
#define REMAX   32000
 
#define renew(r)
 
#define redel(root, item)
 

Functions

rerootremkroot ()
 
void refree ()
 
char * renewx ()
 
char * remalloc ()
 

Macro Definition Documentation

◆ redel

#define redel (   root,
  item 
)
Value:
{ \
((recycle *)item)->next=(root)->trash; \
(root)->trash=(recycle *)(item); \
}

Definition at line 60 of file recycle.h.

◆ REMAX

#define REMAX   32000

Definition at line 28 of file recycle.h.

◆ renew

#define renew (   r)
Value:
((r)->numleft ? \
(((char *)((r)->list+1))+((r)->numleft-=(r)->size)) : renewx(r))
char * renewx()

Definition at line 53 of file recycle.h.

◆ RESTART

#define RESTART   0

Definition at line 27 of file recycle.h.

Function Documentation

◆ refree()

void refree ( )

Referenced by hdestroy().

◆ remalloc()

char* remalloc ( )

◆ remkroot()

reroot* remkroot ( )

Referenced by create_symbol(), and hcreate().

◆ renewx()

char* renewx ( )