diff options
author | dgp <dgp@users.sourceforge.net> | 2006-03-29 15:09:04 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-03-29 15:09:04 (GMT) |
commit | 1c0dd2885c9905abdc7f8c4a7bcf85d727daefe5 (patch) | |
tree | b814e8099de3c9df2233843b38c8030cc3e18ade | |
parent | 8dde4ec38f00f68398f50c4518496e25c12acc7a (diff) | |
download | tcl-1c0dd2885c9905abdc7f8c4a7bcf85d727daefe5.zip tcl-1c0dd2885c9905abdc7f8c4a7bcf85d727daefe5.tar.gz tcl-1c0dd2885c9905abdc7f8c4a7bcf85d727daefe5.tar.bz2 |
Added comment about potential improvement to Tcl_GetBignumAndClearObj.
-rw-r--r-- | generic/tclObj.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 */ |