Re: Anyone understand this?

"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
> On 22 Jan 2025, at 20:48, David McClain <[email protected]> wrote:
> 
> Here is properly working code, just FYI

Looks tidy. You have a curious way of declaring a module, I thought you had to do it before hand using (register-module). Also, I have a question that I can’t find a good answer to on my own:

how do you reload the module properly without breaking anything?

Say I am developing a C routine to be called from lisp, but I want to extend it with another function. I edit the C code, compile the file, produce a dynamic lib and overwrite the old one. Naturally, the new function is not going to be available in the lisp runtime just like that.

How do I gracefully get rid of the existing connection to the foreign lib and recreate it?

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.