[CM] s7 loading functions

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Thu Jul 11 14:41:43 PDT 2019

Now I read the code... the autoloader can't work
with just the *.so library name (as opposed to a function)
because it can't tell what
the init function's name is.  You could do this with
s7_load_with_environment if it were extended to handle
*.so files, because you can pass the init function
name in the environment argument, or you could call
the init function explicitly after loading, but autoload happens
at the point where an undefined name is encountered,
so you need to pass a function something like
(lambda (e) (load "libc.so" (inlet 'init_func 'init)))

More information about the Cmdist mailing list