projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
825d357
)
Added hook function to intercept node attributes output
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 18 Nov 2004 17:14:02 +0000
(17:14 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 18 Nov 2004 17:14:02 +0000
(17:14 +0000)
[r4434]
ir/ir/irdump.h
patch
|
blob
|
history
diff --git
a/ir/ir/irdump.h
b/ir/ir/irdump.h
index
c9a7d60
..
ae4bbe0
100644
(file)
--- a/
ir/ir/irdump.h
+++ b/
ir/ir/irdump.h
@@
-42,6
+42,16
@@
/* GRAPH DUMPERS */
/* **************************************************************************** */
/* GRAPH DUMPERS */
/* **************************************************************************** */
+/**
+ * This hook is called to dump the vcg attributes of a node to a file.
+ * If this function returns zero, the default attributes are added, else
+ * removed.
+ */
+typedef int (*DUMP_NODE_VCGATTR_FUNC)(FILE *F, ir_node *n);
+
+/** Set the node_vcgattr hook. */
+void set_dump_node_vcgattr_hook(DUMP_NODE_VCGATTR_FUNC hook);
+
/** Dump a firm graph.
*
* @param irg The firm graph to be dumped.
/** Dump a firm graph.
*
* @param irg The firm graph to be dumped.