[tepl] EncodingConverter: add a TODO comment about invalid chars
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] EncodingConverter: add a TODO comment about invalid chars
- Date: Wed, 29 May 2019 09:23:17 +0000 (UTC)
commit 71edd086527169d5b2d3867f9ce7afda01717988
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed May 29 11:20:29 2019 +0200
EncodingConverter: add a TODO comment about invalid chars
tepl/tepl-encoding-converter.h | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tepl/tepl-encoding-converter.h b/tepl/tepl-encoding-converter.h
index 72066e7..499a62a 100644
--- a/tepl/tepl-encoding-converter.h
+++ b/tepl/tepl-encoding-converter.h
@@ -58,6 +58,9 @@ struct _TeplEncodingConverterClass
* nul-byte at a different place; as long as you modify and access @str inside
* its [0, @length] bounds.
*/
+/* TODO: when there is an invalid char, call a callback instead of returning an
+ * error. By extending this callback, or by creating another callback function.
+ */
typedef void (*TeplEncodingConversionCallback) (const gchar *str,
gsize length,
gpointer user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]