summaryrefslogtreecommitdiff
path: root/tiger-compiler/tcsh/src/tiger_callgraph.i
blob: 429c4517ebc3340596b04dc95be276be8f6a8e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"