yp as a dynamic external --- code for loading
This commit is contained in:
parent
fd728de93e
commit
e026f80b15
|
@ -0,0 +1,16 @@
|
|||
(user)
|
||||
(open 'dynamic-externals)
|
||||
(open 'external-calls)
|
||||
|
||||
(run
|
||||
'(let ((initializer-name "scsh_yp_main")
|
||||
(module-file "/Users/knauel/cool-stuff/scsh-yp/c/yp.dylib"))
|
||||
(dynamic-load module-file)
|
||||
(call-external (get-external initializer-name))))
|
||||
|
||||
(config)
|
||||
(load "yp-interfaces.scm")
|
||||
(load "yp-packages.scm")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue