mirror of
https://github.com/MPSU/APS.git
synced 2025-09-15 17:20:10 +00:00
ЛР13. Исправление CAST для Си в platform.h
This commit is contained in:
committed by
GitHub
parent
2c7ea597cc
commit
4cc6d0d287
@@ -3,8 +3,8 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define CAST(type, addr) reinterpret_cast<type>(addr)
|
||||
#elif
|
||||
#define CAST(addr) (type) (addr)
|
||||
#else
|
||||
#define CAST(type, addr) (type) (addr)
|
||||
#endif
|
||||
|
||||
struct SW_HANDLE
|
||||
|
Reference in New Issue
Block a user