summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehan <jehan@girinstud.io>2017-08-19 10:46:25 +0200
committerJehan <jehan@girinstud.io>2017-08-19 10:46:25 +0200
commit170ef349cfcabedfbd39aa5762c45c669348c36c (patch)
treec17014b344d7729b262326a70462f69d306db64a
parentc049332c41e6057cee075d614ff34f8041ce1812 (diff)
src: fix some doc comments. s/a instance/an instance/.
Unless mistaken, we should use "an" with next word starting with vowel.
-rw-r--r--src/uchardet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uchardet.h b/src/uchardet.h
index bc17694..0d67d18 100644
--- a/src/uchardet.h
+++ b/src/uchardet.h
@@ -67,7 +67,7 @@ void uchardet_delete(uchardet_t ud);
* for an encoding, so you should not worry about limiting input data.
* As far as you should be concerned: the more the better.
*
- * @param ud [in] handle of a instance of uchardet
+ * @param ud [in] handle of an instance of uchardet
* @param data [in] data
* @param len [in] number of byte of data
* @return non-zero number on failure.
@@ -76,19 +76,19 @@ int uchardet_handle_data(uchardet_t ud, const char * data, size_t len);
/**
* Notify an end of data to an encoding detector.
- * @param ud [in] handle of a instance of uchardet
+ * @param ud [in] handle of an instance of uchardet
*/
void uchardet_data_end(uchardet_t ud);
/**
* Reset an encoding detector.
- * @param ud [in] handle of a instance of uchardet
+ * @param ud [in] handle of an instance of uchardet
*/
void uchardet_reset(uchardet_t ud);
/**
* Get an iconv-compatible name of the encoding that was detected.
- * @param ud [in] handle of a instance of uchardet
+ * @param ud [in] handle of an instance of uchardet
* @return name of charset on success and "" on failure.
*/
const char * uchardet_get_charset(uchardet_t ud);