QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
defspace.c File Reference

Macros

#define GROW   1024
 

Typedefs

typedef struct locref_s locref_t
 

Functions

int defspace_add_data (defspace_t *space, pr_type_t *data, int size)
 Copy a block of data into a defspace. More...
 
int defspace_alloc_loc (defspace_t *space, int size)
 Allocate space from the defspace's backing memory. More...
 
void defspace_free_loc (defspace_t *space, int ofs, int size)
 Free a block of contiguous words, returning them to the defspace. More...
 
defspace_tdefspace_new (ds_type_t type)
 Create an empty defspace. More...
 

Macro Definition Documentation

#define GROW   1024

Typedef Documentation

typedef struct locref_s locref_t