/trunk/Examples/mzscheme/simple/example.i
# · Swig · 16 lines · 11 code · 3 blank · 2 comment · 0 complexity · a1f99292802a542cb6b3a489a4f2d604 MD5 · raw file
- /* 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();
- %}