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