diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-11 09:38:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-11 09:38:07 (GMT) |
commit | c09aee52fbaeb3d3323d506b2ed648d06c21954f (patch) | |
tree | d4bf85c7822c11af68ee141b079a3e9963cb97b4 /generic/tclNamesp.c | |
parent | ce11fef50dff5048c2dfa81c6639fbb6a65b51e0 (diff) | |
parent | 30f60173c4738c76675b58db3a7a5aaa62ca79ea (diff) | |
download | tcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.zip tcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.tar.gz tcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.tar.bz2 |
Merge trunk.
Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 0e84dbf..43bed5e 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -3387,7 +3387,7 @@ NamespaceExistsCmd( return TCL_ERROR; } - Tcl_SetObjResult(interp, Tcl_NewBooleanObj( + Tcl_SetObjResult(interp, Tcl_NewLongObj( GetNamespaceFromObj(interp, objv[1], &namespacePtr) == TCL_OK)); return TCL_OK; } @@ -4962,7 +4962,7 @@ TclLogCommandInfo( */ Tcl_ListObjAppendElement(NULL, iPtr->errorStack, iPtr->upLiteral); - Tcl_ListObjAppendElement(NULL, iPtr->errorStack, Tcl_NewIntObj( + Tcl_ListObjAppendElement(NULL, iPtr->errorStack, Tcl_NewLongObj( iPtr->framePtr->level - iPtr->varFramePtr->level)); } else if (iPtr->framePtr != iPtr->rootFramePtr) { /* |