/trunk/Examples/mzscheme/simple/example.i
Swig | 16 lines | 11 code | 3 blank | 2 comment | 0 complexity | a1f99292802a542cb6b3a489a4f2d604 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- /* 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();
- %}