mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Added a C++ like const_cast macro.
This commit is contained in:
parent
a0616a76be
commit
5d44086ccc
@ -187,4 +187,7 @@ void refresh_screen (void *);
|
||||
#define ESC_CHAR '\033'
|
||||
#define ESC_STR "\033"
|
||||
|
||||
/* C++ style type casts */
|
||||
#define const_cast(m_type, m_expr) ((m_type) (m_expr))
|
||||
|
||||
#endif /* !__MC_GLOBAL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user