Sujet : Re: sample extension: how to beam created proc tolkens to unload procedure
De : ralfixx (at) *nospam* gmx.de (Ralf Fassel)
Groupes : comp.lang.tclDate : 10. Dec 2024, 19:25:36
Autres entêtes
Message-ID : <yga4j3b8kf3.fsf@akutech.de>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
* Harald Oehlmann <
wortkarg3@yahoo.com>
| About the DLL, the unload or interpreter destruction should care.
>
| To unload the DLL by "rename sha1 {}" would be an incredible feature I
| don't want to think of. Users may use "unload <PathToDll>" to do so.
Unloading the DLL when the command is deleted would have very surprising
side-effects:
# load the package
package require some_pkg
# use it to create an instance
some_pkg::create_obj obj
# done with that instance, get rid of it
rename obj ""
# use it to create another instance
some_pkg::create_obj obj
error: unknown command 'some_pkg::create_obj'
# WTF?
R'