user.c File Reference

Main API/User-level functions. More...

#include "internal.h"
Include dependency graph for user.c:

Go to the source code of this file.

Functions

void * tm_alloc (size_t size)
 API: Allocate a node.
void * tm_alloc_desc (tm_adesc *desc)
 API: Allocate a node based on a allocation descriptor.
void * tm_realloc (void *oldptr, size_t size)
 API: Reallocate a node of a givin size.
void tm_free (void *ptr)
 API: Explicitly free a node.
void tm_gc_full ()
 API: Force a full GC.

Variables

int _tm_user_bss [4]
 Uninitialized global memory.
int _tm_user_data [4] = { 0, 1, 2, 3 }
 Initialized global memory.

Detailed Description

Main API/User-level functions.

Definition in file user.c.


Variable Documentation

int _tm_user_bss[4]

Uninitialized global memory.

Definition at line 11 of file user.c.

Referenced by tm_init().

int _tm_user_data[4] = { 0, 1, 2, 3 }

Initialized global memory.

Definition at line 13 of file user.c.

Referenced by tm_init().


Generated on Mon Jan 25 06:33:12 2010 for TM(tredmill) by  doxygen 1.6.1