blob: e4bd6893690d2749244d91f2068e40074b107a5c [file] [log] [blame]
// -*- C++ -*-
//===-------------------- support/android/wchar_support.c ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBCXX_SUPPORT_ANDROID_WCTYPES_H
#define LLVM_LIBCXX_SUPPORT_ANDROID_WCTYPES_H
#include_next <wctype.h>
#include <xlocale.h>
#ifdef __cplusplus
extern "C" {
#endif
// Add missing declarations from the NDK header. Implemented under
// src/android/wctype.cc
int iswblank(wint_t c);
int iswspace_l(wint_t, locale_t);
int iswprint_l(wint_t, locale_t);
int iswcntrl_l(wint_t, locale_t);
int iswupper_l(wint_t, locale_t);
int iswlower_l(wint_t, locale_t);
int iswalpha_l(wint_t, locale_t);
int iswdigit_l(wint_t, locale_t);
int iswpunct_l(wint_t, locale_t);
int iswxdigit_l(wint_t, locale_t);
int iswblank_l(wint_t, locale_t);
wint_t towlower_l(wint_t, locale_t);
wint_t towupper_l(wint_t, locale_t);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // LLVM_LIBCXX_SUPPORT_ANDROID_WCTYPES_H