diff options
author | dgp <dgp@users.sourceforge.net> | 2017-01-12 20:59:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2017-01-12 20:59:53 (GMT) |
commit | abc071c9749dd80f997754a1f0e0dddbd57681bd (patch) | |
tree | ede9400a7f2d9a343d5df8959506d3b64b0b6a97 /generic/tclBinary.c | |
parent | ee6c9c9f00f18fb8ae94d73f22e69ca270d4d7d8 (diff) | |
parent | d42b3a00d3058b4e6eaabb24196fc0dbb55088dc (diff) | |
download | tcl-abc071c9749dd80f997754a1f0e0dddbd57681bd.zip tcl-abc071c9749dd80f997754a1f0e0dddbd57681bd.tar.gz tcl-abc071c9749dd80f997754a1f0e0dddbd57681bd.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 6369a86..d0066e5 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -176,7 +176,7 @@ static const EnsembleImplMap decodeMap[] = { * where the codepoint of each character is the value of corresponding byte. * This approach creates a one-to-one map between all bytearray values * and a subset of Tcl string values. - * + * * When converting a Tcl string value to the bytearray internal rep, the * question arises what to do with strings outside that subset? That is, * those Tcl strings containing at least one codepoint greater than 255? @@ -184,7 +184,7 @@ static const EnsembleImplMap decodeMap[] = { * does not represent any valid bytearray value. Full Stop. The * setFromAnyProc signature has a completion code return value for just * this reason, to reject invalid inputs. - * + * * Unfortunately this was not the path taken by the authors of the * original tclByteArrayType. They chose to accept all Tcl string values * as acceptable string encodings of the bytearray values that result @@ -208,7 +208,7 @@ static const EnsembleImplMap decodeMap[] = { * unsigned char *Tcl_GetByteArrayFromObj(objPtr, lenPtr) * * has a guarantee to always return a non-NULL value, but that value - * points to a byte sequence that cannot be used by the caller to + * points to a byte sequence that cannot be used by the caller to * process the Tcl value absent some sideband testing that objPtr * is "pure". Tcl offers no public interface to perform this test, * so callers either break encapsulation or are unavoidably buggy. Tcl @@ -222,7 +222,7 @@ static const EnsembleImplMap decodeMap[] = { * Bytearrays should simply be usable as bytearrays without a kabuki * dance of testing. * - * The Tcl_ObjType "properByteArrayType" is (nearly) a correct + * The Tcl_ObjType "properByteArrayType" is (nearly) a correct * implementation of bytearrays. Any Tcl value with the type * properByteArrayType can have its bytearray value fetched and * used with confidence that acting on that value is equivalent to |