diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-11 13:03:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-11 13:03:30 (GMT) |
commit | f734823e12648903b16fe8b38bb9ee48454ad6a4 (patch) | |
tree | 610a619c6f3cba3910a5070cd03883f9bef99649 /generic/tk.h | |
parent | 4965fa07310bf1b153dcb200719fc1c4aaded61c (diff) | |
download | tk-f734823e12648903b16fe8b38bb9ee48454ad6a4.zip tk-f734823e12648903b16fe8b38bb9ee48454ad6a4.tar.gz tk-f734823e12648903b16fe8b38bb9ee48454ad6a4.tar.bz2 |
Eliminate More C++-related warnings, when compiling against Tcl 9.0 headers.
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tk.h b/generic/tk.h index 09fab52..26a63c9 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -196,16 +196,16 @@ typedef struct Tk_OptionSpec { * holds the value of this option, specified * as an offset in bytes from the start of the * record. Use the offsetof macro to generate - * values for this. -1 means don't store the - * Tcl_Obj in the record. */ + * values for this. TCL_AUTO_LENGTH means don't + * store the Tcl_Obj in the record. */ size_t internalOffset; /* Where in record to store the internal * representation of the value of this option, * such as an int or XColor *. This field is * specified as an offset in bytes from the * start of the record. Use the offsetof - * macro to generate values for it. -1 means - * don't store the internal representation in - * the record. */ + * macro to generate values for it. + * TCL_AUTO_LENGTH means don't store the + * internal representation in the record. */ #else int objOffset; int internalOffset; |