/tags/rel-1.3.35/Examples/GIFPlot/Ruby/full/gifplot.i

# · Swig · 15 lines · 5 code · 5 blank · 5 comment · 0 complexity · bd81bc88dc332c634f9daaa66779808a MD5 · raw file

  1. /* Oh what the heck, let's just grab the whole darn header file
  2. and see what happens. */
  3. %module gifplot
  4. %{
  5. /* Note: You still need this part because the %include directive
  6. merely causes SWIG to interpret the contents of a file. It doesn't
  7. include the right include headers for the resulting C code */
  8. #include "gifplot.h"
  9. %}
  10. %include gifplot.h