17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-19 02:39:19 +02:00

refactor: change typedef, nullptr, scoped_lock and others

This commit is contained in:
jerrrrycho
2026-09-27 19:31:00 +02:00
parent 8fbb482350
commit b8c9724ca3
42 changed files with 186 additions and 186 deletions

View File

@@ -18,8 +18,8 @@ http://mozilla.org/MPL/2.0/.
// IEEE-1284 Controller
HINSTANCE hDLL;
typedef USHORT(__stdcall *InPortType)(USHORT BasePort);
typedef void(__stdcall *OutPortType)(USHORT BasePort, USHORT value);
using InPortType = USHORT(__stdcall *)(USHORT BasePort);
using OutPortType = void(__stdcall *)(USHORT BasePort, USHORT value);
InPortType InPort;
OutPortType OutPort;