xref: /haiku/src/system/libroot/posix/glibc/iconv/gconv_builtin.h (revision 25a7b01d15612846f332751841da3579db313082)
15af32e75SAxel Dörfler /* Builtin transformations.
25af32e75SAxel Dörfler    Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc.
35af32e75SAxel Dörfler    This file is part of the GNU C Library.
45af32e75SAxel Dörfler    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
55af32e75SAxel Dörfler 
65af32e75SAxel Dörfler    The GNU C Library is free software; you can redistribute it and/or
75af32e75SAxel Dörfler    modify it under the terms of the GNU Lesser General Public
85af32e75SAxel Dörfler    License as published by the Free Software Foundation; either
95af32e75SAxel Dörfler    version 2.1 of the License, or (at your option) any later version.
105af32e75SAxel Dörfler 
115af32e75SAxel Dörfler    The GNU C Library is distributed in the hope that it will be useful,
125af32e75SAxel Dörfler    but WITHOUT ANY WARRANTY; without even the implied warranty of
135af32e75SAxel Dörfler    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
145af32e75SAxel Dörfler    Lesser General Public License for more details.
155af32e75SAxel Dörfler 
165af32e75SAxel Dörfler    You should have received a copy of the GNU Lesser General Public
175af32e75SAxel Dörfler    License along with the GNU C Library; if not, write to the Free
185af32e75SAxel Dörfler    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
195af32e75SAxel Dörfler    02111-1307 USA.  */
205af32e75SAxel Dörfler 
21*2370b92eSOliver Tappe BUILTIN_TRANSFORMATION ("MULTIBYTE", "WCHAR", 1, "=multibyte->wchar",
22*2370b92eSOliver Tappe 			__gconv_transform_multibyte_wchar, NULL, 4, 4, 1, MB_LEN_MAX)
235af32e75SAxel Dörfler 
24*2370b92eSOliver Tappe BUILTIN_TRANSFORMATION ("WCHAR", "MULTIBYTE", 1, "=wchar->multibyte",
25*2370b92eSOliver Tappe 			__gconv_transform_wchar_multibyte, NULL, 4, 4, 1, MB_LEN_MAX)
26