[Libreoffice-commits] .: sal/inc
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 14 19:54:25 PST 2012
sal/inc/rtl/memory.h | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit ed80674ec793f640916ad4162ee4121aeceac7f6
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Wed Oct 10 20:31:32 2012 +0200
Mark rtl_*memory as deprecated
Change-Id: I0e5e85d6b23961baa9ef3ed4247e39497bb063d7
Reviewed-on: https://gerrit.libreoffice.org/865
Reviewed-by: Niko Rönkkö <ronkko at iki.fi>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/sal/inc/rtl/memory.h b/sal/inc/rtl/memory.h
index 0104b78..0dfb79c 100644
--- a/sal/inc/rtl/memory.h
+++ b/sal/inc/rtl/memory.h
@@ -39,11 +39,17 @@
extern "C" {
#endif
+SAL_DEPRECATED("Use memset instead")
SAL_DLLPUBLIC void SAL_CALL rtl_zeroMemory(void *Ptr, sal_Size Bytes);
+SAL_DEPRECATED("Use memset instead")
SAL_DLLPUBLIC void SAL_CALL rtl_fillMemory(void *Ptr, sal_Size Bytes, sal_uInt8 Fill);
+SAL_DEPRECATED("Use memcpy instead")
SAL_DLLPUBLIC void SAL_CALL rtl_copyMemory(void *Dst, const void *Src, sal_Size Bytes);
+SAL_DEPRECATED("Use memmove instead")
SAL_DLLPUBLIC void SAL_CALL rtl_moveMemory(void *Dst, const void *Src, sal_Size Bytes);
+SAL_DEPRECATED("Use memcmp instead")
SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_compareMemory(const void *MemA, const void *MemB, sal_Size Bytes);
+SAL_DEPRECATED("Use memchr instead")
SAL_DLLPUBLIC void* SAL_CALL rtl_findInMemory(const void *MemA, sal_uInt8 ch, sal_Size Bytes);
#ifdef __cplusplus
More information about the Libreoffice-commits
mailing list