Guile add two more examples and use load-extension instead of dynamic-load
This commit is contained in:
parent
4e4b73e7c0
commit
d3cddb1355
5 changed files with 52 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
;;;; Show the three different ways to deal with multiple return values
|
||||
|
||||
(dynamic-call "scm_init_example_module" (dynamic-link "./libexample"))
|
||||
(load-extension "./libexample" "scm_init_example_module")
|
||||
|
||||
;;; Multiple values as lists. By default, if more than one value is to
|
||||
;;; be returned, a list of the values is created and returned. The
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue