diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-05-08 12:42:17 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-05-08 12:42:17 +0100 |
commit | 70b9df5ee9513f263758b1b491c00f20e6e7adaf (patch) | |
tree | eba81379183dda90e36d0002dbffdbd533fcd0c7 /Examples/guile | |
parent | 4ed422da6050b5004a14f31ab5caa9e012b99a78 (diff) | |
download | swig-70b9df5ee9513f263758b1b491c00f20e6e7adaf.tar.gz |
Portable dynamic library loading for Guile
dynamic-link and load-extension work without passing the .so or .dll as
the shared library extension, so these have been dropped so the examples
and test-suite work on Cygwin.
Also update documentation and use the 'lib' prefix as that is what we
commonly name the shared libraries.
Diffstat (limited to 'Examples/guile')
-rw-r--r-- | Examples/guile/multimap/runme.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/guile/multimap/runme.scm b/Examples/guile/multimap/runme.scm index 1654fd3a8..d2ab8036e 100644 --- a/Examples/guile/multimap/runme.scm +++ b/Examples/guile/multimap/runme.scm @@ -1,6 +1,6 @@ ;;; Test out some multi-argument typemaps -(dynamic-call "scm_init_example_module" (dynamic-link "./libexample.so")) +(dynamic-call "scm_init_example_module" (dynamic-link "./libexample")) ; Call the GCD function |