Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speexdsp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Matthews <le.businessman@gmail.com>2014-08-10 21:42:15 +0400
committerTristan Matthews <le.businessman@gmail.com>2014-08-10 21:42:15 +0400
commit86779a06f6500d041573d6252d4971d3bfcb4b18 (patch)
tree0ebf1b3c1279969623a8e549357248bdf5b2511b /libspeexdsp
parent67a65c4dba809f4d65f67c28742dfc1f50e22f24 (diff)
os_support: fix misleading comments
Diffstat (limited to 'libspeexdsp')
-rw-r--r--libspeexdsp/os_support.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libspeexdsp/os_support.h b/libspeexdsp/os_support.h
index 8172c9a..2e23a5e 100644
--- a/libspeexdsp/os_support.h
+++ b/libspeexdsp/os_support.h
@@ -90,18 +90,18 @@ static inline void speex_free_scratch (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_SPEEX_COPY
#define SPEEX_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_SPEEX_MOVE
#define SPEEX_MOVE(dst, src, n) (memmove((dst), (src), (n)*sizeof(*(dst)) + 0*((dst)-(src)) ))
#endif
-/** Set n bytes of memory to value of c, starting at address dst */
+/** For n elements worth of memory, set every byte to the value of c, starting at address dst */
#ifndef OVERRIDE_SPEEX_MEMSET
#define SPEEX_MEMSET(dst, c, n) (memset((dst), (c), (n)*sizeof(*(dst))))
#endif