1 // -*- C++ -*- 2 //===-------------------- support/android/wchar_support.c ------------------===// 3 // 4 // The LLVM Compiler Infrastructure 5 // 6 // This file is dual licensed under the MIT and the University of Illinois Open 7 // Source Licenses. See LICENSE.TXT for details. 8 // 9 //===----------------------------------------------------------------------===// 10 11 #ifndef LLVM_LIBCXX_SUPPORT_ANDROID_NL_TYPES_H 12 #define LLVM_LIBCXX_SUPPORT_ANDROID_NL_TYPES_H 13 14 #define NL_SETD 1 15 #define NL_CAT_LOCALE 1 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 typedef void* nl_catd; 22 typedef int nl_item; 23 24 nl_catd catopen(const char*, int); 25 char* catgets(nl_catd, int, int, const char*); 26 int catclose(nl_catd); 27 28 #ifdef __cplusplus 29 } // extern "C" 30 #endif 31 32 #endif /* LLVM_LIBCXX_SUPPORT_ANDROID_NL_TYPES_H */ 33 34