PageRenderTime 71ms CodeModel.GetById 28ms RepoModel.GetById 2ms app.codeStats 0ms

/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
  1. /* File : example.i */
  2. %module Example
  3. %{
  4. /* Put headers and other declarations here */
  5. %}
  6. %inline %{
  7. extern double My_variable;
  8. extern int fact(int);
  9. extern int mod(int n, int m);
  10. extern char *get_time();
  11. %}
  12. %include guile/guilemain.i