Guile add two more examples and use load-extension instead of dynamic-load

This commit is contained in:
Geert Janssens 2013-05-13 22:40:16 +02:00
commit d3cddb1355
5 changed files with 52 additions and 5 deletions

View file

@ -1,5 +1,5 @@
(dynamic-call "scm_init_example_module" (dynamic-link "./libexample"))
(load-extension "./libexample" "scm_init_example_module")
; repeatedly invoke a procedure with v and an index as arguments
(define (with-vector v proc size-proc)