git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
11 lines
488 B
Text
11 lines
488 B
Text
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 Guile which defines an additional
|
|
module (simple). Run `./simple-guile -s runme.scm' to test it.
|
|
|
|
`make dynamic' will build a dynamically loadable module, which can be
|
|
loaded from any Guile interpreter. Run `guile -s runme.scm' to test
|
|
it. The `use-modules' call in `runme.scm' dynamically loads the
|
|
module.
|