From 62ece32bb4a0aebd2895d9e16b235eee70ce5ce3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 24 Apr 1999 22:58:57 +0000 Subject: Update. 1999-04-24 Ulrich Drepper * iconv/gconv_builtin.h: Add definitions for UTF16 builtins. * iconv/gconv_int.h: Declare UTF16 functions. * iconv/gconv_simple.c: Add UTF16 conversion functions. * timezone/zic.c (dolink): Append complete path not only filename --- iconv/gconv_builtin.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'iconv/gconv_builtin.h') diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h index e12f1e46ee..0c31890a37 100644 --- a/iconv/gconv_builtin.h +++ b/iconv/gconv_builtin.h @@ -1,5 +1,5 @@ /* Builtin transformations. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -79,3 +79,15 @@ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UNICODELITTLE//", 1, "=INTERNAL->ucs2little", __gconv_transform_internal_ucs2little, NULL, NULL, 4, 4, 2, 2) + +BUILTIN_ALIAS ("UTF-16//", "UTF16//") + +BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UTF16//", + 1, "=INTERNAL->utf16", + __gconv_transform_internal_utf16, NULL, NULL, + 4, 4, 2, 4) + +BUILTIN_TRANSFORMATION (NULL, "UTF16//", 7, "INTERNAL", + 1, "=utf16->INTERNAL", + __gconv_transform_utf16_internal, NULL, NULL, + 2, 4, 4, 4) -- cgit v1.2.3