Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf2a41e4b1da6dcec839668bf90fdebdca866ece
Ticket: 2431338fffffffffffffffffffffffffffffffff
TIP 338 changes break TkAqua build
User & Date: nijtmans on 2008-12-16 16:39:27
Changes

  1. icomment:
    Let me just add, that in my view the stubs interface is prefered always
    compared to direct function access. It allows embedders to do something
    like:
        void *tcl = dlopen("libtcl?.?.so");
        fn *createinterp = (fn *) dlsym(tcl, "Tcl_CreateInterpreter")
        Tcl_Interp *interp = createinterp();
        Tcl_InitStubs(interp, ....);
        ......
    All remaining things can be done through the stubs interface,
    so only a single symbol needs to be searched in the shared
    library. That's why I fully support das' fix.
    
    I even would keep the entries in the private stub table
    as well, that would allow to load Tk 8.5 dynamically in
    Tcl 8.6. I see no reason to forbid that (neither do I
    see a reason to support that, but when compatibility is
    _that_ easy to accomplish, why not)
    
    Regards,
            Jan Nijtmans
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"