Standardise Mzscheme simple example

Changes so that it works the same as other language modules
This commit is contained in:
William S Fulton 2019-02-09 14:43:27 +00:00
commit 30d0c16ac0
4 changed files with 37 additions and 46 deletions

View file

@ -1,16 +1,7 @@
/* 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();
extern int gcd(int x, int y);
extern double Foo;
%}