/trunk/Examples/mzscheme/simple/example.i

# · Swig · 16 lines · 11 code · 3 blank · 2 comment · 0 complexity · a1f99292802a542cb6b3a489a4f2d604 MD5 · raw file

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