diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-10-22 14:28:17 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-10-22 14:28:17 +0000 |
commit | f000f0730381ec768d093c76689b4abb68d7b6cf (patch) | |
tree | bee47550d887d7192e2d180618bc7d1001016a64 | |
parent | 1e208225416ae4c98e2534616f3095c1677402b1 (diff) | |
download | android_external_libxml2-f000f0730381ec768d093c76689b4abb68d7b6cf.tar.gz android_external_libxml2-f000f0730381ec768d093c76689b4abb68d7b6cf.tar.bz2 android_external_libxml2-f000f0730381ec768d093c76689b4abb68d7b6cf.zip |
made xmlGetUTF8Char public Daniel
* include/libxml/encoding.h encoding.c: made xmlGetUTF8Char public
Daniel
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | encoding.c | 2 | ||||
-rw-r--r-- | include/libxml/encoding.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Oct 22 16:27:31 CEST 2002 Daniel Veillard <daniel@veillard.com> + + * include/libxml/encoding.h encoding.c: made xmlGetUTF8Char public + Tue Oct 22 16:25:18 CEST 2002 Daniel Veillard <daniel@veillard.com> * debugXML.c: adding a grep command to --shell in xmllint @@ -135,7 +135,7 @@ xmlUTF8Strlen(const xmlChar *utf) { * Returns the char value or -1 in case of error and update @len with the * number of bytes used */ -static int +int xmlGetUTF8Char(const unsigned char *utf, int *len) { unsigned int c; diff --git a/include/libxml/encoding.h b/include/libxml/encoding.h index 27bdd1be..9a326127 100644 --- a/include/libxml/encoding.h +++ b/include/libxml/encoding.h @@ -204,6 +204,8 @@ int isolat1ToUTF8 (unsigned char *out, int *outlen, const unsigned char *in, int *inlen); +int xmlGetUTF8Char (const unsigned char *utf, + int *len); /* * exports additional "UTF-8 aware" string routines which are. */ |