summaryrefslogtreecommitdiff
path: root/tiger-compiler/tcsh/src/tiger_callgraph.i
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/tcsh/src/tiger_callgraph.i')
-rw-r--r--tiger-compiler/tcsh/src/tiger_callgraph.i18
1 files changed, 18 insertions, 0 deletions
diff --git a/tiger-compiler/tcsh/src/tiger_callgraph.i b/tiger-compiler/tcsh/src/tiger_callgraph.i
new file mode 100644
index 0000000..429c451
--- /dev/null
+++ b/tiger-compiler/tcsh/src/tiger_callgraph.i
@@ -0,0 +1,18 @@
+// -*- C++ -*-
+
+%module tiger_callgraph
+
+%include "std_string.i"
+
+%{
+ #include <callgraph/fundec-graph.hh>
+ #include <callgraph/libcallgraph.hh>
+%}
+
+namespace callgraph
+{
+ class FundecGraph;
+ using CallGraph = FundecGraph;
+}
+
+%include "callgraph/libcallgraph.hh"