heap_xsb.h File Reference

#include "heap_defs_xsb.h"
#include "context.h"

Defines

#define new_heap_free(sh_reg)   bld_free(sh_reg); sh_reg++
#define new_heap_string(sh_reg, str)   bld_string(sh_reg, str); sh_reg++
#define new_heap_nil(sh_reg)   bld_nil(sh_reg); sh_reg++
#define new_heap_num(sh_reg, val)   bld_int_tagged(sh_reg, val); sh_reg++
#define new_heap_float(sh_reg, val)   bld_float_tagged(sh_reg, val); sh_reg++
#define new_heap_functor(sh_reg, psc)   bld_functor(sh_reg++, psc)
#define new_heap_node(sh_reg, x)   bld_copy(sh_reg++, x)

Functions

int gc_heap (CTXTdeclc int, int)
int mark_heap (CTXTdeclc int, int *)
xsbBool glstack_ensure_space (CTXTdeclc int, int)
xsbBool glstack_realloc (CTXTdeclc int, int)
char * string_find_safe (char *str)
void print_cp (CTXTdeclc int)
void print_tr (CTXTdeclc int)
void print_ls (CTXTdeclc int)
void print_all_stacks (CTXTdeclc int)
void print_regs (CTXTdeclc int, int)
void print_heap (CTXTdeclc int, int, int)
void print_gc_statistics (CTXTdecl)

Variables

Cell attv_interrupts [20480][2]

Define Documentation

#define new_heap_float sh_reg,
val   )     bld_float_tagged(sh_reg, val); sh_reg++
 

#define new_heap_free sh_reg   )     bld_free(sh_reg); sh_reg++
 

#define new_heap_functor sh_reg,
psc   )     bld_functor(sh_reg++, psc)
 

#define new_heap_nil sh_reg   )     bld_nil(sh_reg); sh_reg++
 

#define new_heap_node sh_reg,
 )     bld_copy(sh_reg++, x)
 

#define new_heap_num sh_reg,
val   )     bld_int_tagged(sh_reg, val); sh_reg++
 

#define new_heap_string sh_reg,
str   )     bld_string(sh_reg, str); sh_reg++
 


Function Documentation

int gc_heap CTXTdeclc  int,
int 
 

xsbBool glstack_ensure_space CTXTdeclc  int,
int 
 

xsbBool glstack_realloc CTXTdeclc  int,
int 
 

int mark_heap CTXTdeclc  int,
int
 

void print_all_stacks CTXTdeclc  int  ) 
 

void print_cp CTXTdeclc  int  ) 
 

void print_gc_statistics CTXTdecl   ) 
 

void print_heap CTXTdeclc  int,
int  ,
int 
 

void print_ls CTXTdeclc  int  ) 
 

void print_regs CTXTdeclc  int,
int 
 

void print_tr CTXTdeclc  int  ) 
 

char* string_find_safe char *  str  ) 
 


Variable Documentation

Cell attv_interrupts[20480][2]
 


Generated on Wed Jul 26 13:26:53 2006 for XSB by  doxygen 1.4.5