summaryrefslogtreecommitdiff
path: root/Examples/chicken/simple/example.i
blob: 5b3e955809b0ff81e26f2622b48108b0b98db6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* File : example.i */
%module example
%{
/* Put headers and other declarations here */
%}

%include typemaps.i

%rename(mod) my_mod;

%inline %{
extern double My_variable;
extern int    fact(int);
extern int    my_mod(int n, int m);
extern char   *get_time();
%}