[Top][All Lists]

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

Re: Module unloading

From: Zeeshan Ali
Subject: Re: Module unloading
Date: Fri, 27 May 2005 01:00:41 +0500


> Yes.  This is covered in general terms by the comments in my earlier
> email today, but for the specific problem you describe, all you need to
> do is:
> - export `xchat-register-plugin' from your main infrastructure module,
> which let's say is (xchat main)
> - document that plugin authors need to write `(use-modules (xchat
> main))' at the start of their plugin code.

   Yes, Rob suggested this method on IRC this evening, but it seems to
further complicate the maters as i was trying to unref one module
reference and this way i'll get two to worry about.

    One thing that i found out is that module can't really be
unloaded. E.g if i load a module (either using use-modules or
resolve-module), unload/unuse it (using the code you showed me), edit
the module and then load it again, i don't get my changes; instead the
same old version of module get's loaded, which means the module didn't
get unloaded.


Zeeshan Ali

reply via email to

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