From 1c0dd2885c9905abdc7f8c4a7bcf85d727daefe5 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 29 Mar 2006 15:09:04 +0000 Subject: Added comment about potential improvement to Tcl_GetBignumAndClearObj. --- generic/tclObj.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/generic/tclObj.c b/generic/tclObj.c index 0522c17..dca6e8d 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclObj.c,v 1.106 2006/03/16 09:56:46 das Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.107 2006/03/29 15:09:04 dgp Exp $ */ #include "tclInt.h" @@ -2735,6 +2735,12 @@ Tcl_DbNewBignumObj( *---------------------------------------------------------------------- */ +/* + * TODO: Consider a smarter Tcl_GetBignumAndClearObj() that doesn't + * require caller to check for a shared Tcl_Obj, but falls back to + * Tcl_GetBignumFromObj() when sharing is an issue. + */ + static int GetBignumFromObj( Tcl_Interp *interp, /* Tcl interpreter for error reporting */ -- cgit v0.12