1239310Sdim// Prototypes for GLIBC thread locale __-prefixed functions -*- C++ -*- 2239310Sdim 3239310Sdim// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. 4239310Sdim// 5239310Sdim// This file is part of the GNU ISO C++ Library. This library is free 6239310Sdim// software; you can redistribute it and/or modify it under the 7239310Sdim// terms of the GNU General Public License as published by the 8239310Sdim// Free Software Foundation; either version 2, or (at your option) 9239310Sdim// any later version. 10239310Sdim 11239310Sdim// This library is distributed in the hope that it will be useful, 12239310Sdim// but WITHOUT ANY WARRANTY; without even the implied warranty of 13239310Sdim// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14239310Sdim// GNU General Public License for more details. 15239310Sdim 16239310Sdim// You should have received a copy of the GNU General Public License along 17263508Sdim// with this library; see the file COPYING. If not, write to the Free 18239310Sdim// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 19249423Sdim// USA. 20239310Sdim 21239310Sdim// As a special exception, you may use this file as part of a free software 22239310Sdim// library without restriction. Specifically, if other files instantiate 23239310Sdim// templates or use macros or inline functions from this file, or you compile 24239310Sdim// this file and link it with other files to produce an executable, this 25239310Sdim// file does not by itself cause the resulting executable to be covered by 26239310Sdim// the GNU General Public License. This exception does not however 27263508Sdim// invalidate any other reasons why the executable file might be covered by 28263508Sdim// the GNU General Public License. 29263508Sdim 30239310Sdim/** @file c++locale_internal.h 31239310Sdim * This is an internal header file, included by other library headers. 32263508Sdim * You should not attempt to use it directly. 33239310Sdim */ 34249423Sdim 35249423Sdim// Written by Jakub Jelinek <jakub@redhat.com> 36249423Sdim 37263508Sdim#include <bits/c++config.h> 38263508Sdim#include <clocale> 39263508Sdim 40263508Sdim#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) 41263508Sdim 42263508Sdimextern "C" __typeof(nl_langinfo_l) __nl_langinfo_l; 43263508Sdimextern "C" __typeof(strcoll_l) __strcoll_l; 44263508Sdimextern "C" __typeof(strftime_l) __strftime_l; 45239310Sdimextern "C" __typeof(strtod_l) __strtod_l; 46263508Sdimextern "C" __typeof(strtof_l) __strtof_l; 47263508Sdimextern "C" __typeof(strtold_l) __strtold_l; 48239310Sdimextern "C" __typeof(strxfrm_l) __strxfrm_l; 49263508Sdimextern "C" __typeof(newlocale) __newlocale; 50263508Sdimextern "C" __typeof(freelocale) __freelocale; 51239310Sdimextern "C" __typeof(duplocale) __duplocale; 52263508Sdimextern "C" __typeof(uselocale) __uselocale; 53263508Sdim 54239310Sdim#ifdef _GLIBCXX_USE_WCHAR_T 55263508Sdimextern "C" __typeof(iswctype_l) __iswctype_l; 56263508Sdimextern "C" __typeof(towlower_l) __towlower_l; 57239310Sdimextern "C" __typeof(towupper_l) __towupper_l; 58263508Sdimextern "C" __typeof(wcscoll_l) __wcscoll_l; 59263508Sdimextern "C" __typeof(wcsftime_l) __wcsftime_l; 60239310Sdimextern "C" __typeof(wcsxfrm_l) __wcsxfrm_l; 61263508Sdimextern "C" __typeof(wctype_l) __wctype_l; 62239310Sdim#endif 63263508Sdim 64239310Sdim#endif // GLIBC 2.3 and later 65239310Sdim