1 ;;; This is the union runtime testcase. It ensures that values within a
2 ;;; union embedded within a struct can be set and read correctly.
4 ;; The SWIG modules have "passive" Linkage, i.e., they don't generate
5 ;; Guile modules (namespaces) but simply put all the bindings into the
6 ;; current module. That's enough for such a simple test.
7 (dynamic-call "scm_init_unions_module" (dynamic-link "./libunions.so"))
8 (load "../schemerunme/unions.scm")