/tags/rel-1-3-26/SWIG/Examples/guile/simple/example.i
# · Swig · 14 lines · 10 code · 2 blank · 2 comment · 0 complexity · d98553e318306c3514cf1c7c04cb59ad MD5 · raw file
- /* File : example.i */
- %module Example
- %{
- /* Put headers and other declarations here */
- %}
- %inline %{
- extern double My_variable;
- extern int fact(int);
- extern int mod(int n, int m);
- extern char *get_time();
- %}
- %include guile/guilemain.i