Skip to content
Snippets Groups Projects
Verified Commit ae7cee26 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Move wctype_t definition to wctype rust header

parent e5d2ba75
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@
#define _BITS_WCTYPE_H
#include <stdint.h>
#define __need_wctype_t
#define __need_wint_t
#endif /* _BITS_WCTYPE_H */
......@@ -12,7 +12,6 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
#ifndef __cplusplus
typedef int32_t wchar_t;
#endif /* #ifndef __cplusplus */
typedef uint32_t wctype_t;
typedef uint32_t wint_t;
......
......@@ -11,6 +11,8 @@ mod alpha;
mod casecmp;
mod punct;
pub type wctype_t = u32;
pub const WEOF: wint_t = 0xFFFF_FFFFu32;
pub const WCTYPE_ALNUM: wctype_t = 1;
......
......@@ -45,7 +45,6 @@ pub type c_long = i64;
pub type c_ulong = u64;
pub type wchar_t = i32;
pub type wctype_t = u32;
pub type wint_t = u32;
pub type regoff_t = size_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment