/tags/rel-1-3-15/SWIG/Examples/mzscheme/simple/example.i

# · Swig · 13 lines · 9 code · 2 blank · 2 comment · 0 complexity · 93baaa7f07d44a8b0452df7de72a6f0c MD5 · raw file

  1. /* File : example.i */
  2. %module example
  3. %{
  4. /* Put headers and other declarations here */
  5. %}
  6. %include typemaps.i
  7. extern double My_variable;
  8. extern int fact(int);
  9. %name(mod) extern int my_mod(int n, int m);
  10. extern int my_mod(int n, int m);
  11. extern char *get_time();