diff options
author | mig <mig@noemail.net> | 2011-03-21 14:42:36 (GMT) |
---|---|---|
committer | mig <mig@noemail.net> | 2011-03-21 14:42:36 (GMT) |
commit | 2bf209ea3b307436dedea301e3f8bb4418391af4 (patch) | |
tree | 6f673c749a965f87bd3edcab20ddaebdd2f706f2 /generic/tclCkalloc.c | |
parent | 561f5dfbeb8eb387c1d90c8fb2a2480a4a3c021e (diff) | |
parent | cb77f25ed12c1c50ae7db232f9adebaea7fa3f31 (diff) | |
download | tcl-2bf209ea3b307436dedea301e3f8bb4418391af4.zip tcl-2bf209ea3b307436dedea301e3f8bb4418391af4.tar.gz tcl-2bf209ea3b307436dedea301e3f8bb4418391af4.tar.bz2 |
remove one level of allocator indirection in non-memdebug builds, imported from mig-alloc-reform.
FossilOrigin-Name: d74d7bb0139b82bdb46f3cc9fc240933a1148ded
Diffstat (limited to 'generic/tclCkalloc.c')
-rw-r--r-- | generic/tclCkalloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclCkalloc.c b/generic/tclCkalloc.c index 9d63ebf..056841d 100644 --- a/generic/tclCkalloc.c +++ b/generic/tclCkalloc.c @@ -20,6 +20,12 @@ #define FALSE 0 #define TRUE 1 +#undef Tcl_Alloc +#undef Tcl_Free +#undef Tcl_Realloc +#undef Tcl_AttemptAlloc +#undef Tcl_AttemptRealloc + #ifdef TCL_MEM_DEBUG /* @@ -736,12 +742,6 @@ Tcl_AttemptDbCkrealloc( *---------------------------------------------------------------------- */ -#undef Tcl_Alloc -#undef Tcl_Free -#undef Tcl_Realloc -#undef Tcl_AttemptAlloc -#undef Tcl_AttemptRealloc - char * Tcl_Alloc( unsigned int size) |