RetroZilla/gc/boehm/call_tree.h

19 lines
382 B
C
Raw Permalink Normal View History

2015-10-21 05:03:22 +02:00
/*
call_tree.h
*/
#ifndef call_tree_h
#define call_tree_h
typedef struct call_tree call_tree;
struct call_tree {
void* pc; /* program counter */
unsigned id; /* unique identity */
call_tree* parent; /* parent node */
call_tree* siblings; /* next sibling */
call_tree* children; /* children nodes */
};
#endif