mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-08-30 01:20:43 +02:00
19 lines
382 B
C
19 lines
382 B
C
|
/*
|
||
|
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
|