Mercurial > projects > ldc
comparison druntime/import/core/stdc/wctype.d @ 1458:e0b2d67cfe7c
Added druntime (this should be removed once it works).
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 02 Jun 2009 17:43:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1456:7b218ec1044f | 1458:e0b2d67cfe7c |
---|---|
1 /** | |
2 * D header file for C99. | |
3 * | |
4 * Copyright: Copyright Sean Kelly 2005 - 2009. | |
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt>Boost License 1.0</a>. | |
6 * Authors: Sean Kelly | |
7 * Standards: ISO/IEC 9899:1999 (E) | |
8 * | |
9 * Copyright Sean Kelly 2005 - 2009. | |
10 * Distributed under the Boost Software License, Version 1.0. | |
11 * (See accompanying file LICENSE_1_0.txt or copy at | |
12 * http://www.boost.org/LICENSE_1_0.txt) | |
13 */ | |
14 module core.stdc.wctype; | |
15 | |
16 public import core.stdc.wchar_; // for wint_t, WEOF | |
17 | |
18 extern (C): | |
19 | |
20 alias wchar_t wctrans_t; | |
21 alias wchar_t wctype_t; | |
22 | |
23 int iswalnum(wint_t wc); | |
24 int iswalpha(wint_t wc); | |
25 int iswblank(wint_t wc); | |
26 int iswcntrl(wint_t wc); | |
27 int iswdigit(wint_t wc); | |
28 int iswgraph(wint_t wc); | |
29 int iswlower(wint_t wc); | |
30 int iswprint(wint_t wc); | |
31 int iswpunct(wint_t wc); | |
32 int iswspace(wint_t wc); | |
33 int iswupper(wint_t wc); | |
34 int iswxdigit(wint_t wc); | |
35 | |
36 int iswctype(wint_t wc, wctype_t desc); | |
37 wctype_t wctype(in char* property); | |
38 wint_t towlower(wint_t wc); | |
39 wint_t towupper(wint_t wc); | |
40 wint_t towctrans(wint_t wc, wctrans_t desc); | |
41 wctrans_t wctrans(in char* property); |