1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-14 23:50:19 +02:00

* scripts/README, scripts/hello.scm, safe/untrusted.scm,

safe/evil.scm, safe/README, modules/README, modules/main,
	modules/module-0.scm, modules/module-1.scm, modules/module-2.scm:
	Minor cleanup.

	* README: Added intro stuff, restructured a bit.

	* box-dynamic/README, box-module/README, box/README: Cleanup and
	restructuring.

	* box-dynamic-module/box-mixed.scm: New file, demonstrating usage
	of extension library functionality, but without exporting
	procedures from the library.

	Thanks to Thomas Wawrzinek for the idea and example code!

	* box-dynamic-module/box-module.scm: Add comments, export
	make-box, box-ref, box-set!.

	* box-dynamic-module/README: Integrate new module (box-mixed),
	restructure and cleanup a bit.
This commit is contained in:
Martin Grabmüller 2001-06-14 20:36:06 +00:00
parent 4927dd283b
commit 673509f84f
21 changed files with 236 additions and 60 deletions

View file

@ -1,5 +1,5 @@
;;; examples/box-dynamic-module/box-module.scm -- Scheme part of the
;;; dynamic module (box-module)
;;; examples/box-dynamic-module/box-module.scm -- Scheme module exporting
;;; some functionality from the shared library libbox-module.
;;; Commentary:
@ -14,4 +14,12 @@
(define-module (box-module))
;; First, load the library.
;;
(load-extension "libbox-module" "scm_init_box")
;; Then export the procedures which should be visible to module users.
;;
(export make-box box-ref box-set!)
;;; End of file.