/trunk/Examples/guile/matrix/package.i

# · Swig · 20 lines · 13 code · 6 blank · 1 comment · 0 complexity · 23eb9316ddc68bac0241325516fc0684 MD5 · raw file

  1. // FILE : package.i
  2. // See the SWIG users manual
  3. /*** Matrix and vector package ***/
  4. %module Matrix
  5. %{
  6. #include <math.h>
  7. %}
  8. %include guilemain.i
  9. %include matrix.i
  10. %include vector.i
  11. // Include the math library so we can get some random numbers and
  12. // other stuff
  13. %include math.i
  14. extern double drand48();