summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-28 08:29:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-28 08:29:35 (GMT)
commitd26dbcc674a5cac3ff627bf6fde8f8423cb15759 (patch)
treef08644fdd361765ac6483ac3eff46d5ebfa2cc27 /generic/tclObj.c
parent8a493825aa6a54ea7dcbe527b1cbb72cd38d7598 (diff)
downloadtcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.zip
tcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.tar.gz
tcl-d26dbcc674a5cac3ff627bf6fde8f8423cb15759.tar.bz2
Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index a40a29d..54ec25a 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -1733,8 +1733,8 @@ Tcl_InvalidateStringRep(
*----------------------------------------------------------------------
*/
-#ifdef TCL_MEM_DEBUG
#undef Tcl_NewBooleanObj
+#ifdef TCL_MEM_DEBUG
Tcl_Obj *
Tcl_NewBooleanObj(
@@ -1782,6 +1782,7 @@ Tcl_NewBooleanObj(
*----------------------------------------------------------------------
*/
+#undef Tcl_DbNewBooleanObj
#ifdef TCL_MEM_DEBUG
Tcl_Obj *
@@ -1834,6 +1835,7 @@ Tcl_DbNewBooleanObj(
*----------------------------------------------------------------------
*/
+#undef Tcl_SetBooleanObj
void
Tcl_SetBooleanObj(
register Tcl_Obj *objPtr, /* Object whose internal rep to init. */
@@ -2393,8 +2395,8 @@ UpdateStringOfDouble(
*----------------------------------------------------------------------
*/
-#ifdef TCL_MEM_DEBUG
#undef Tcl_NewIntObj
+#ifdef TCL_MEM_DEBUG
Tcl_Obj *
Tcl_NewIntObj(
@@ -2434,6 +2436,7 @@ Tcl_NewIntObj(
*----------------------------------------------------------------------
*/
+#undef Tcl_SetIntObj
void
Tcl_SetIntObj(
register Tcl_Obj *objPtr, /* Object whose internal rep to init. */