diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-18 15:34:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-18 15:34:13 (GMT) |
commit | 7972edd0e2dc7d19da389b07b76d4dea28f371d5 (patch) | |
tree | f8534641d0d76ed94ce55418e91e1d0d67c0eeaa /generic/tcl.h | |
parent | e7e044e96841e4bdbbf931d03658b12d8315af19 (diff) | |
parent | c0b6a93d8fe6016ad657a4dfce0bbeffa0b7f86a (diff) | |
download | tcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.zip tcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.tar.gz tcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.tar.bz2 |
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 2943e5d..e93eee9 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -837,6 +837,20 @@ typedef struct Tcl_DString { #define TCL_INTEGER_SPACE (3*(int)sizeof(Tcl_WideInt)) /* + *---------------------------------------------------------------------------- + * Type values returned by Tcl_GetNumberFromObj + * TCL_NUMBER_INT Representation is a Tcl_WideInt + * TCL_NUMBER_BIG Representation is an mp_int + * TCL_NUMBER_DOUBLE Representation is a double + * TCL_NUMBER_NAN Value is NaN. + */ + +#define TCL_NUMBER_INT 2 +#define TCL_NUMBER_BIG 3 +#define TCL_NUMBER_DOUBLE 4 +#define TCL_NUMBER_NAN 5 + +/* * Flag values passed to Tcl_ConvertElement. * TCL_DONT_USE_BRACES forces it not to enclose the element in braces, but to * use backslash quoting instead. |