Adjust mbstate_t to what we need.
* we maintain the character count and the ID of the corresponding ICU converter in mbstate_t
This commit is contained in:
parent
bf5ff48092
commit
fa02fc6907
@ -6,6 +6,7 @@
|
||||
#define _WCHAR_H
|
||||
|
||||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -26,8 +27,8 @@ typedef __WINT_TYPE__ wint_t;
|
||||
typedef int wctype_t;
|
||||
|
||||
typedef struct {
|
||||
int __count;
|
||||
wint_t __value;
|
||||
unsigned int count;
|
||||
unsigned int converterID;
|
||||
} mbstate_t;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user