diff options
author | mig <mig@noemail.net> | 2011-03-21 13:41:50 (GMT) |
---|---|---|
committer | mig <mig@noemail.net> | 2011-03-21 13:41:50 (GMT) |
commit | 57dccd78cdda18f59ec9321fb4314f8fba7c0a3a (patch) | |
tree | 19aa8fa524b667d5513ed8719df931fa62957ce1 /generic/tclInt.h | |
parent | aafe6cd104ad12f57fff571398e23076ab066291 (diff) | |
download | tcl-57dccd78cdda18f59ec9321fb4314f8fba7c0a3a.zip tcl-57dccd78cdda18f59ec9321fb4314f8fba7c0a3a.tar.gz tcl-57dccd78cdda18f59ec9321fb4314f8fba7c0a3a.tar.bz2 |
remove one level of indirection in non-mem-debug builds
FossilOrigin-Name: 0e843f63e5917d51127cf5a128dc2040c04cf413
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 */ /* |