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