diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-02-12 08:01:16 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-02-12 08:01:16 (GMT) |
| commit | cea29dc862927d59885d2b5c560fa7ca71130681 (patch) | |
| tree | 74e5cad14abd6171a0b6e20644d4a0d4c4bf1911 /generic/tclStringObj.c | |
| parent | debfe4564498aa05bef79e7c2b34ea269c2c4201 (diff) | |
| download | tcl-cea29dc862927d59885d2b5c560fa7ca71130681.zip tcl-cea29dc862927d59885d2b5c560fa7ca71130681.tar.gz tcl-cea29dc862927d59885d2b5c560fa7ca71130681.tar.bz2 | |
More accurate documentation
Diffstat (limited to 'generic/tclStringObj.c')
| -rw-r--r-- | generic/tclStringObj.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index ec6fa0a..b3e6dec 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -4366,15 +4366,16 @@ ExtendUnicodeRepWithString( * * Tcl_IsEmpty -- * - * Check whether the obj is empty. + * Check whether the obj is the empty string. * * Results: - * -1 if the obj is NULL * 1 if the obj is "" * 0 otherwise * * Side effects: - * String representation is generated if the obj has no lengthProc + * If there is no other way to determine whethere the string + * representation is the empty string, the string representation + * is generated. * *---------------------------------------------------------------------- */ |
