Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-03-31
13:33 • Closed ticket [926463ffff]: tclFreeObjList - make file static ? plus 8 other... artifact: 34b70f7dd5 user: dgp
13:31 • Ticket [926463ffff]: 4 changes artifact: eff3869d55 user: dgp
06:13 • New ticket [926463ffff]. artifact: 99257ccdae user: dgp

tclFreeObjList - make file static ?

Closed / Invalid926463ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-31 06:13:18
tclInt.h line 1616:

extern Tcl_Obj *        tclFreeObjList;

This variable is referenced in two
macros also defined in tclInt.h,
TclAllocObjStorage() and
TclFreeObjStorage().

However neither of those macros
appears to be used, and other
than them, tclFreeObjList is
referenced only in tclObj.c.  Can
we move the declaration there
(renaming to freeObjList) and
delete the two unused macros?
dgpplain2004-03-31 13:31:49
Logged In: YES 
user_id=80530

the macros
TclIncrObjsAllocated() and
TclIncrObjsFreed() seem related.
dgpplain2004-03-31 13:33:08
Logged In: YES 
user_id=80530

never mind; I see the light.
Log in (anonymous is fine) to add a comment.