diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-03 20:37:03 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-03 20:37:03 +0300 |
commit | 9b9f70737e5133c8aa5a95fd2e49a0f9a5e091e6 (patch) | |
tree | c7916ed03ed72febcd6607e0c70e6d1af4203446 /sal | |
parent | 881fa8d5cbb937b033f87f7da813419895b31b28 (diff) |
SAL_REINTERPRET_CAST returns, for API stability (for 3rd-party extensions)
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h index 8d0bb7ebd029..288c2e75ce74 100644 --- a/sal/inc/sal/types.h +++ b/sal/inc/sal/types.h @@ -356,6 +356,7 @@ typedef struct _sal_Sequence */ #ifdef __cplusplus #define SAL_CONST_CAST(type, expr) (const_cast< type >(expr)) +#define SAL_REINTERPRET_CAST(type, expr) (reinterpret_cast< type >(expr)) #define SAL_STATIC_CAST(type, expr) (static_cast< type >(expr)) #endif /* __cplusplus */ |