Menu

#217 Itcl_(Safe)?Init and struct ItclStubAPI usages

3.3.0
closed-out-of-date
5
2014-09-20
2011-07-18
No

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.

Discussion

  • Jan Nijtmans

    Jan Nijtmans - 2011-07-18
    • assigned_to: davygrvy --> dgp
     
  • Don Porter

    Don Porter - 2011-07-18
    • assigned_to: dgp --> wiede
     
  • Jan Nijtmans

    Jan Nijtmans - 2011-07-23

    proposed for Itcl4.0b7

     
  • Jan Nijtmans

    Jan Nijtmans - 2011-07-23

    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.

     
  • Arnulf Wiedemann

    • status: open --> closed-out-of-date
    • Group: --> 3.3.0
     

Log in to post a comment.