summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-12-12 05:01:04 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-12-12 05:01:04 (GMT)
commit4ff4072eaa5652ad04b711a62839002a865b6358 (patch)
tree76e9bed3392c20ce14c245bc43f2ec98ceaf0b54 /generic/tclInt.h
parent1f46b14efb4cff5cd99eecd20058ec3d98b283a5 (diff)
downloadtcl-4ff4072eaa5652ad04b711a62839002a865b6358.zip
tcl-4ff4072eaa5652ad04b711a62839002a865b6358.tar.gz
tcl-4ff4072eaa5652ad04b711a62839002a865b6358.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 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 0efb1b6..eeb685a 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4776,9 +4776,9 @@ typedef struct NRE_callback {
#include "tclTomMathDecls.h"
#if !defined(USE_TCL_STUBS) && !defined(TCL_MEM_DEBUG)
-#define Tcl_AttemptAlloc(size) TclpAlloc(size)
-#define Tcl_AttemptRealloc(ptr, size) TclpRealloc((ptr), (size))
-#define Tcl_Free(ptr) TclpFree(ptr)
+#define Tcl_AttemptMemAlloc(size) TclpAlloc(size)
+#define Tcl_AttemptMemRealloc(ptr, size) TclpRealloc((ptr), (size))
+#define Tcl_MemFree(ptr) TclpFree(ptr)
#endif
#endif /* _TCLINT */