guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Module unloading


From: Neil Jerram
Subject: Re: Module unloading
Date: Mon, 23 May 2005 19:18:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2

Zeeshan Ali wrote:
Hello fellow Guilers,
    As most of you (who lurk on #guile) know that I've been writing an
xchat-guile plugin lately so people can write xchat plugins in
scheme/guile. The plugin is almost finished now and i am working on
the plugin loading and unloading functionality right now. I thought
that it would be a good idea that the xchat-guile plugins are the same
as guile modules. I know how to load the modules but i also need to
unload them and seems there is no 'straight' way of doing that in
guile, is there?

There's no way of completely removing (=> undefining) the definitions that a module added. I think it might be possible (in an undocumented and unsupported way) to "unuse" a module, though, i.e. to remove a plugin module from the module-uses list of your main module. Is that any use to you?

        Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]