Reloading shared objects.

Bert Freudenberg bert at impara.de
Fri Apr 22 13:44:11 UTC 2005


Am 22.04.2005 um 15:21 schrieb goran.krampe at bluefish.se:

> Hi!
>
> =?iso-8859-1?b?RnJhbudvaXM=?= THIMON <thimof at iutc3.unicaen.fr> wrote:
>> Hi. Does someone know whether a squeak image enables reloading shared 
>> libraries
>> (ie. .SO modules) without closing the whole environment and re-opening
>> afterwards. Please tell me yes!!!! What a pain in the neck when you 
>> gotta debug
>> external code!!
>
> The answer is yes.

And since the next question might be "how?"

	Smalltalk unloadModule: 'name'

Use the exact name reported by

	Smalltalk listLoadedModules

for unloading (which should be identical to what you gave in the FFI 
declaration).

- Bert -




More information about the Squeak-dev mailing list