The functions Itcl_(Safe)?Init don't belong in the stub
table, as those are only called directly by Itcl embedders,
while the stub table is meant for Itcl extenders.
struct ItclStubAPI is used as an intermediate structure
for accessing the internal stub table, but stubs already
have a mechanism for that: the stubHooks. So the
extra layer makes no sense.
Here is a patch which removes Itcl_(Safe)?Init
from the stub table, and removes the unneeded
usage of ItclStubAPI.
Proposed for inclusion in Itcl 4.0b7.
proposed for Itcl4.0b7
Here is a new patch, moving the Itcl_(Safe)?Init definitions
to itcl.h in stead of itclDecls.h: itclDecls.h should only be
related to the stub table, so the Itcl_(Safe)?Init definitions
don't belong there.