diff options
author | dgp <dgp@users.sourceforge.net> | 2012-12-12 05:01:04 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-12-12 05:01:04 (GMT) |
commit | 4ff4072eaa5652ad04b711a62839002a865b6358 (patch) | |
tree | 76e9bed3392c20ce14c245bc43f2ec98ceaf0b54 /win/tclAppInit.c | |
parent | 1f46b14efb4cff5cd99eecd20058ec3d98b283a5 (diff) | |
download | tcl-novem_rename_memory_API.zip tcl-novem_rename_memory_API.tar.gz tcl-novem_rename_memory_API.tar.bz2 |
Rename the memory routines so that Tcl_Alloc/Tcl_Free/etc become the recommendednovem_rename_memory_API
things for extensions and embedders to call, instead of ckalloc/ckfree/etc.
Tcl_Alloc, etc. are macros that can be configured for memory debuggin, as ckalloc, etc.
have been and continue to be.
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r-- | win/tclAppInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c index 5ecebea..917cf00 100644 --- a/win/tclAppInit.c +++ b/win/tclAppInit.c @@ -255,7 +255,7 @@ setargv( } /* Make sure we don't call ckalloc through the (not yet initialized) stub table */ - #undef Tcl_Alloc + #undef Tcl_MemAlloc #undef Tcl_DbCkalloc argSpace = ckalloc(size * sizeof(char *) |