Differences From Artifact [877aa024e4]:
- File src/OFStdIOStream_Win32Console.m — part of check-in [37d2a81754] at 2017-05-07 21:25:56 on branch trunk — Use char{16,32}_t instead of of_char{16,32}_t (user: js, size: 8011) [annotate] [blame] [check-ins using]
To Artifact [b94d48eb9c]:
- File
src/OFStdIOStream_Win32Console.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 8011) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
57 58 59 60 61 62 63 | #include <windows.h> @implementation OFStdIOStream_Win32Console + (void)load { of_stdin = [[OFStdIOStream_Win32Console alloc] | | | | | | | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | #include <windows.h> @implementation OFStdIOStream_Win32Console + (void)load { of_stdin = [[OFStdIOStream_Win32Console alloc] of_initWithFileDescriptor: 0]; of_stdout = [[OFStdIOStream_Win32Console alloc] of_initWithFileDescriptor: 1]; of_stderr = [[OFStdIOStream_Win32Console alloc] of_initWithFileDescriptor: 2]; } - (instancetype)of_initWithFileDescriptor: (int)fd { self = [super of_initWithFileDescriptor: fd]; @try { DWORD mode; switch (fd) { case 0: _handle = GetStdHandle(STD_INPUT_HANDLE); |
︙ | ︙ |