diff options
author | mig <mig> | 2011-03-21 13:41:50 (GMT) |
---|---|---|
committer | mig <mig> | 2011-03-21 13:41:50 (GMT) |
commit | e2f462108ea96728189ad727b14d981ef17ec18d (patch) | |
tree | 19aa8fa524b667d5513ed8719df931fa62957ce1 /generic/tclInt.h | |
parent | 23e778541ae5ff3bf0ef8b74c37bcd13b8f8ef94 (diff) | |
download | tcl-e2f462108ea96728189ad727b14d981ef17ec18d.zip tcl-e2f462108ea96728189ad727b14d981ef17ec18d.tar.gz tcl-e2f462108ea96728189ad727b14d981ef17ec18d.tar.bz2 |
remove one level of indirection in non-mem-debug builds
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 911cea6..f728a80 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -4500,6 +4500,12 @@ typedef struct NRE_callback { #include "tclIntPlatDecls.h" #include "tclTomMathDecls.h" +#if !defined(USE_TCL_STUBS) && !defined(TCL_MEM_DEBUG) +#define Tcl_AttemptAlloc TclpAlloc +#define Tcl_AttemptRealloc TclpRealloc +#define Tcl_Free TclpFree +#endif + #endif /* _TCLINT */ /* |