Skip to content

Commit 6245ef1

Browse files
committed
fixed formatting
1 parent 4de427f commit 6245ef1

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11

2-
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11

2+
#include "hdr/types/wchar_t.h"
23
#include "src/__support/wchar/mbstate.h"
34
#include "src/__support/wchar/utf_ret.h"
4-
#include "hdr/types/wchar_t.h"
55

66
class CharacterConverter {
77
private:
8-
mbstate_t* state;
8+
mbstate_t *state;
99

1010
public:
11-
CharacterConverter();
11+
CharacterConverter();
1212

13-
bool isComplete();
13+
bool isComplete();
1414

15-
int push(char utf8_byte);
16-
int push(wchar_t utf32);
15+
int push(char utf8_byte);
16+
int push(wchar_t utf32);
1717

18-
utf_ret<char> pop_utf8();
19-
utf_ret<wchar_t> pop_utf32();
18+
utf_ret<char> pop_utf8();
19+
utf_ret<wchar_t> pop_utf32();
2020
};

libc/src/__support/wchar/mbstate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "hdr/types/wchar_t.h"
33

44
struct mbstate_t {
5-
wchar_t partial;
6-
unsigned char bits_processed;
7-
unsigned char total_bytes;
5+
wchar_t partial;
6+
unsigned char bits_processed;
7+
unsigned char total_bytes;
88
};

libc/src/__support/wchar/utf_ret.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
template <typename T>
3-
struct utf_ret {
4-
T out;
5-
int error;
2+
template <typename T> struct utf_ret {
3+
T out;
4+
int error;
65
};

0 commit comments

Comments
 (0)