PageRenderTime 29ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-26/SWIG/Examples/chicken/simple/example.i

#
Swig | 16 lines | 11 code | 3 blank | 2 comment | 0 complexity | a1f99292802a542cb6b3a489a4f2d604 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. %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. %}