[Libreoffice-commits] .: sal/inc

Tor Lillqvist tml at kemper.freedesktop.org
Tue Apr 3 10:37:13 PDT 2012


 sal/inc/sal/types.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9b9f70737e5133c8aa5a95fd2e49a0f9a5e091e6
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Tue Apr 3 20:37:03 2012 +0300

    SAL_REINTERPRET_CAST returns, for API stability (for 3rd-party extensions)

diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h
index 8d0bb7e..288c2e7 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 */
 


More information about the Libreoffice-commits mailing list