summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
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/tcl.decls
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/tcl.decls')
-rw-r--r--generic/tcl.decls10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tcl.decls b/generic/tcl.decls
index ad725f5..88567e3 100644
--- a/generic/tcl.decls
+++ b/generic/tcl.decls
@@ -40,13 +40,13 @@ declare 2 {
void Tcl_Panic(const char *format, ...)
}
declare 3 {
- char *Tcl_Alloc(unsigned int size)
+ char *Tcl_MemAlloc(unsigned int size)
}
declare 4 {
- void Tcl_Free(char *ptr)
+ void Tcl_MemFree(char *ptr)
}
declare 5 {
- char *Tcl_Realloc(char *ptr, unsigned int size)
+ char *Tcl_MemRealloc(char *ptr, unsigned int size)
}
declare 6 {
char *Tcl_DbCkalloc(unsigned int size, const char *file, int line)
@@ -1527,13 +1527,13 @@ declare 427 {
int flags, Tcl_CommandTraceProc *proc, ClientData clientData)
}
declare 428 {
- char *Tcl_AttemptAlloc(unsigned int size)
+ char *Tcl_AttemptMemAlloc(unsigned int size)
}
declare 429 {
char *Tcl_AttemptDbCkalloc(unsigned int size, const char *file, int line)
}
declare 430 {
- char *Tcl_AttemptRealloc(char *ptr, unsigned int size)
+ char *Tcl_AttemptMemRealloc(char *ptr, unsigned int size)
}
declare 431 {
char *Tcl_AttemptDbCkrealloc(char *ptr, unsigned int size,