/tags/rel-1-3-26/SWIG/Examples/chicken/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
1/* File : example.i */ 2%module example 3%{ 4/* Put headers and other declarations here */ 5%} 6 7%include typemaps.i 8 9%rename(mod) my_mod; 10 11%inline %{ 12extern double My_variable; 13extern int fact(int); 14extern int my_mod(int n, int m); 15extern char *get_time(); 16%}