OILS / demo / swig / example.h View on Github | oilshell.org

14 lines, 5 significant
1/* File: example.h */
2
3class Str; // mycpp/runtime
4
5namespace fanos {
6
7int fact(int n);
8
9// Note: SWIG doesn't find inline functions
10int add(int x, int y);
11
12void send(int fd, Str* s);
13
14}