From 43ec2bd667a8f6c6d40457a6e6c6340a2d214d66 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 23 Jan 2007 01:17:42 +0000 Subject: [PATCH] Oops, tweak comment. --- lib/striconveh.h | 4 ++-- lib/striconveha.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/striconveh.h b/lib/striconveh.h index e97890c0e..1e833a053 100644 --- a/lib/striconveh.h +++ b/lib/striconveh.h @@ -47,7 +47,7 @@ enum iconv_ilseq_handler (iconv_t)(-1) if FROM_CODESET is UTF-8). CD2 is the conversion descriptor from UTF-8 to TO_CODESET (or (iconv_t)(-1) if TO_CODESET is UTF-8). - If OFFSET is not NULL, it should point to an array of SRCLEN integers; this + If OFFSETS is not NULL, it should point to an array of SRCLEN integers; this array is filled with offsets into the result, i.e. the character starting at SRC[i] corresponds to the character starting at (*RESULTP)[OFFSETS[i]], and other offsets are set to (size_t)(-1). @@ -86,7 +86,7 @@ extern char * /* Convert an entire string from one encoding to another, using iconv. The original string is at [SRC,...,SRC+SRCLEN-1]. - If OFFSET is not NULL, it should point to an array of SRCLEN integers; this + If OFFSETS is not NULL, it should point to an array of SRCLEN integers; this array is filled with offsets into the result, i.e. the character starting at SRC[i] corresponds to the character starting at (*RESULTP)[OFFSETS[i]], and other offsets are set to (size_t)(-1). diff --git a/lib/striconveha.h b/lib/striconveha.h index b4d7ce496..2798f53f4 100644 --- a/lib/striconveha.h +++ b/lib/striconveha.h @@ -30,7 +30,7 @@ extern "C" { /* Convert an entire string from one encoding to another, using iconv. The original string is at [SRC,...,SRC+SRCLEN-1]. The "from" encoding can also be a name defined for autodetection. - If OFFSET is not NULL, it should point to an array of SRCLEN integers; this + If OFFSETS is not NULL, it should point to an array of SRCLEN integers; this array is filled with offsets into the result, i.e. the character starting at SRC[i] corresponds to the character starting at (*RESULTP)[OFFSETS[i]], and other offsets are set to (size_t)(-1). -- 2.11.0