Update of ”Tcl_Obj System”
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: b474a1501ed65839625d99a6ac0356820211b439
Page Name:Tcl_Obj System
Date: 2014-09-15 03:35:43
Original User: dgp
Parent: 129d771c04d1759821d2200b994b692d77263b77 (diff)
Next 73d68babc75501735b30e0b9ce8a172f24648139
Content

Source Files

Public Routines

Private Routines

Directly Depends On Public Routines From

Directly Depends On Private Routines From

Discussion

If extensions need TclObjBeingDeleted then it should be public. Otherwise it should be file static.

TclFreeIntRep should be public. There should be no direct calling of another object type's procs.

Critical defect here: much of the API uses a signed int for object lengths (with negative numbers, typically -1, indicating “use strlen() to get the real length”). This is fine on 32-bit platforms, but massively wrong on 64-bit (except for ILP64 architectures, but that's a rare configuration).