/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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- /* 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