Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Increase usage of objType to avoid function calls

Closed / Accepted1830038fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-11 18:18:45
Increased usage of macros to detect and take advantage of objTypes. Added  macros TclGet(Int|Long)FromObj, TclGetIntForIndexM and TclListObjLength, modified TclListObjGetElements.

The TclGetInt* macros are only a shortcut on platforms where 'long' is 'int'; it may be worthwhile to extend their functionality also to other cases.

This patch is already committed to HEAD. As it touches many files it is recorded here to facilitate review.
msoferplain2007-11-12 02:32:11
File Added - 253839: 1830038.patch

Logged In: YES 
user_id=148712
Originator: YES

File Added: 1830038.patch
msofer Closed ticket [1830038fff]. [History diff]2007-11-12 02:32:57
Log in (anonymous is fine) to add a comment.

Attachments: