swig/Examples/GIFPlot/Chicken/simple
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2003-03-10 19:12:20 +00:00
..
.cvsignore Initial addition. 2003-02-15 01:56:34 +00:00
Makefile Fixed up the "make clean" target and used normal Chicken flags for compiling. 2003-03-10 04:49:37 +00:00
precsi.scm Initial addition. 2003-02-15 01:56:34 +00:00
README Added descriptions of how to build dynamic loadable module. 2003-03-10 19:12:20 +00:00
simple.i Initial addition. 2003-02-15 01:56:34 +00:00
test-simple.scm Changed module technique from <module_name>- to <module_name>: which 2003-02-27 02:00:15 +00:00

This is a very minimalistic example in which just a few functions
and constants from library are wrapped and used to draw some simple
shapes.  

`make' will build a version of the CHICKEN interpreter which defines
an additional unit (simple).  Run `./simple test-simple.scm' to test
it.

** If you have a platform that supports dynamic linking (most UNIXes
** and Win32), then you can run "make module".  This will create a
** dynamic module called module.dll/module.so/module.shl (depending on
** your platform), which you can use with the following:

   (load-library 'precsi "module.dll")

or

   (load-library 'simple "module.dll")