Skip to content
Tcl Source Code Changes To Tcl_Obj System
Login

Changes To Tcl_Obj System

Changes to "Tcl_Obj System" between 2014-09-15 03:34:07 and 2014-09-15 03:35:43

︙
33
34
35
36
37
38
39

33
34
35
36
37
38
39
40







+

If extensions need <b>TclObjBeingDeleted</b> then it
should be public.  Otherwise it should be file static.

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

Critical defect here: much of the API uses a <i>signed int</i> 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).