swig/SWIG/Examples/test-suite/guile/contract_runme.scm
2004-06-07 05:03:39 +00:00

6 lines
335 B
Scheme

;; The SWIG modules have "passive" Linkage, i.e., they don't generate
;; Guile modules (namespaces) but simply put all the bindings into the
;; current module. That's enough for such a simple test.
(dynamic-call "scm_init_contract_module" (dynamic-link "./libcontract.so"))
(load "testsuite.scm")
(load "../schemerunme/contract.scm")