summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-06-07 12:18:01 +0000
committerMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-06-07 12:18:01 +0000
commit5b33ed3df93a6c71b10d45e44926020c2b8e1db6 (patch)
tree27e15d1332039af5d36c2ac29ba05899afd3b75e /examples
parente9680547d3e7c8aaf4992b1006b1810008cc42d8 (diff)
downloadguile-5b33ed3df93a6c71b10d45e44926020c2b8e1db6.tar.gz
Added scheme module file.
Diffstat (limited to 'examples')
-rw-r--r--examples/box-dynamic-module/box-module.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/box-dynamic-module/box-module.scm b/examples/box-dynamic-module/box-module.scm
new file mode 100644
index 000000000..cab41c7e5
--- /dev/null
+++ b/examples/box-dynamic-module/box-module.scm
@@ -0,0 +1,17 @@
+;;; examples/box-dynamic-module/box-module.scm -- Scheme part of the
+;;; dynamic module (box-module)
+
+;;; Commentary:
+
+;;; This is the Scheme part of the dynamic library module (box-module).
+;;; When you do a (use-modules (box-module)) in this directory,
+;;; this file gets loaded and will load the compiled extension.
+
+;;; Code:
+
+;;; Author: Martin Grabmueller
+;;; Date: 2001-06-06
+
+(define-module (box-module))
+
+(load-extension "libbox-module" "scm_init_box")