diff options
author | hobbs <hobbs> | 2010-11-30 18:16:01 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2010-11-30 18:16:01 (GMT) |
commit | 881d5025bf794494317b6490233cde4438ed8d5e (patch) | |
tree | 1813237c573abb3ecbb46ec846d9b34db02dac3a /generic/tclInt.h | |
parent | f2b2931008f39ae6f8fd977c0315178099fa9d8b (diff) | |
download | tcl-881d5025bf794494317b6490233cde4438ed8d5e.zip tcl-881d5025bf794494317b6490233cde4438ed8d5e.tar.gz tcl-881d5025bf794494317b6490233cde4438ed8d5e.tar.bz2 |
* generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:
* generic/tclStubInit.c: TclFormatInt restored at slot 24
* generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from
2005-07-05 macro-ization. Benchmarks indicate it is faster, as a
key int->string routine (e.g. int-indexed arrays).
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 31c9628..75e32bf 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.362.2.15 2010/11/15 21:32:32 andreas_kupries Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.362.2.16 2010/11/30 18:16:02 hobbs Exp $ */ #ifndef _TCLINT @@ -3738,17 +3738,6 @@ MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum, /* *---------------------------------------------------------------- - * Macro used by the Tcl core to write the string rep of a long integer to a - * character buffer. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclFormatInt(char *buf, long n); - *---------------------------------------------------------------- - */ - -#define TclFormatInt(buf, n) sprintf((buf), "%ld", (long)(n)) - -/* - *---------------------------------------------------------------- * Macros used by the Tcl core to set a Tcl_Obj's numeric representation * avoiding the corresponding function calls in time critical parts of the * core. They should only be called on unshared objects. The ANSI C |