Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-12-16
15:14 • Closed ticket [555730ffff]: tclStubsPtr is not exported on win plus 7 other ... artifact: a5af2485cd user: davygrvy
2002-05-14
09:28 • Ticket [555730ffff]: 4 changes artifact: e1af562230 user: davygrvy
09:18 • Ticket [555730ffff]: 4 changes artifact: de229e03d5 user: davygrvy
09:18 • Add attachment patch.txt to ticket [555730ffff] artifact: 82c8502a3b user: davygrvy
02:18 • New ticket [555730ffff] tclStubsPtr is not exported on win. artifact: f6b6fe3b7d user: davygrvy

tclStubsPtr is not exported on win

Closed / Wont Fix555730ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 23 years ago
Descriptionplain2002-05-14 02:18:58
tclStubsPtr is not exported on win, but is available 
on UNIX.

It has been brought up on c.l.t, that linking a custom 
shell (or application) that includes an extension by 
way Stubs cannot be done due to the extension wanting  
the tclStubsPtr symbol.  Normally, one builds a custom 
shell with implicit linking on win (tcl84.lib), the 
import library.  Mixing tcl84.lib and Stubs 
extensions, albeit quite odd, is not possible due to 
the missing export of tclStubsPtr found in 
tclStubLib.obj.  Stubs libraries are not supposed to 
export their symbols, but if this special case was to 
be allowed, then mixing could be possible.

The patch is minor, but imparts a structure change 
that should be questioned first.
davygrvyplain2002-05-14 09:18:58
File Added - 23043: patch.txt
davygrvyplain2002-05-14 09:28:00
Logged In: YES 
user_id=7549

If one wants to have version independence with an extension 
within a custom shell (app), I sure would like to know why 
you/one would want to lock themselves to a single version 
of the core :)

Maybe it's best that this feature isn't added, and the UNIX 
side should be considered broken by being public for export.
davygrvyplain2003-12-16 15:14:47
Logged In: YES 
user_id=7549

Too advanced a concept for mortals to comprehend.  Does 
anyone care about such architecture ideas these days?
Log in (anonymous is fine) to add a comment.

Attachments: