summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-18 15:34:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-18 15:34:13 (GMT)
commit7972edd0e2dc7d19da389b07b76d4dea28f371d5 (patch)
treef8534641d0d76ed94ce55418e91e1d0d67c0eeaa /generic/tcl.h
parente7e044e96841e4bdbbf931d03658b12d8315af19 (diff)
parentc0b6a93d8fe6016ad657a4dfce0bbeffa0b7f86a (diff)
downloadtcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.zip
tcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.tar.gz
tcl-7972edd0e2dc7d19da389b07b76d4dea28f371d5.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h14
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.