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,9 +1,9 @@
|
|||
; file: runme.py
|
||||
; file: runme.scm
|
||||
|
||||
; This file illustrates the proxy class C++ interface generated
|
||||
; by SWIG.
|
||||
|
||||
(dynamic-call "scm_init_example_module" (dynamic-link "./libexample"))
|
||||
(load-extension "./libexample" "scm_init_example_module")
|
||||
|
||||
; Convenience wrapper around the display function
|
||||
; (which only accepts one argument at the time)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue