summaryrefslogtreecommitdiff
path: root/celt/os_support.h
diff options
context:
space:
mode:
authorTristan Matthews <le.businessman@gmail.com>2014-08-10 13:56:31 -0400
committerTristan Matthews <le.businessman@gmail.com>2014-08-10 13:56:52 -0400
commitdacfd28e9abc6bf72f7ddedd3e9fb02803c620f3 (patch)
tree9341e3bf8b9a630eaafe98b4d886abe6f2edd84f /celt/os_support.h
parentfd2992aaab93c646c5b5ef54496dd10f70635d08 (diff)
downloadopus-dacfd28e9abc6bf72f7ddedd3e9fb02803c620f3.tar.gz
os_support: fix misleading comments
cherry-picked from speexdsp 86779a06f6500d041573d6252d4971d3bfcb4b18
Diffstat (limited to 'celt/os_support.h')
-rw-r--r--celt/os_support.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/celt/os_support.h b/celt/os_support.h
index 5e47e3cf..a2171971 100644
--- a/celt/os_support.h
+++ b/celt/os_support.h
@@ -67,18 +67,18 @@ static OPUS_INLINE void opus_free (void *ptr)
}
#endif
-/** Copy n bytes of memory from src to dst. The 0* term provides compile-time type checking */
+/** Copy n elements from src to dst. The 0* term provides compile-time type checking */
#ifndef OVERRIDE_OPUS_COPY
#define OPUS_COPY(dst, src, n) (memcpy((dst), (src), (n)*sizeof(*(dst)) + 0*((dst)-(src)) ))
#endif
-/** Copy n bytes of memory from src to dst, allowing overlapping regions. The 0* term
+/** Copy n elements from src to dst, allowing overlapping regions. The 0* term
provides compile-time type checking */
#ifndef OVERRIDE_OPUS_MOVE
#define OPUS_MOVE(dst, src, n) (memmove((dst), (src), (n)*sizeof(*(dst)) + 0*((dst)-(src)) ))
#endif
-/** Set n elements of dst to zero, starting at address s */
+/** Set n elements of dst to zero */
#ifndef OVERRIDE_OPUS_CLEAR
#define OPUS_CLEAR(dst, n) (memset((dst), 0, (n)*sizeof(*(dst))))
#endif