diff options
author | ericm <ericm@noemail.net> | 2000-09-14 18:42:26 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-09-14 18:42:26 (GMT) |
commit | 0f1b205649d2a26820b26f4b6745f929ef88304b (patch) | |
tree | de9d337513da3daa50909f5c0d11116e6ab9262e /generic/tclUtil.c | |
parent | dfce8968ef8a6a51b4b351ea94118e30317d7179 (diff) | |
download | tcl-0f1b205649d2a26820b26f4b6745f929ef88304b.zip tcl-0f1b205649d2a26820b26f4b6745f929ef88304b.tar.gz tcl-0f1b205649d2a26820b26f4b6745f929ef88304b.tar.bz2 |
* doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.
* doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength.
* generic/tclDecls.h:
* generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls.
* generic/tcl.decls: Added stubs for the Tcl_Attempt* memory
allocators and for Tcl_AttemptSetObjLength.
* generic/tcl.h: Added #define's for attemptckalloc,
attemptckrealloc, which map to the Tcl_Attempt* memory allocators.
* generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc,
Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc,
Tcl_AttemptRealloc, etc. These are used by
Tcl_AttemptSetObjLength and the string obj append functions.
* generic/tclStringObj.c: Modified string growth algorithm to use
doubling algorithm as long as possible, and only fall back when
that fails. Added Tcl_AttemptSetObjLength, and modified
AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and
Tcl_AppendStringsToObjVA to support this.
FossilOrigin-Name: 66347b65e49a6866c410d4c89031857f714db201
Diffstat (limited to 'generic/tclUtil.c')
0 files changed, 0 insertions, 0 deletions