diff options
| author | George Marques | 2016-05-01 12:48:46 -0300 |
|---|---|---|
| committer | George Marques | 2016-05-02 13:18:34 -0300 |
| commit | 7c59d819a7ebb936d51ca032e66a2489e4080d08 (patch) | |
| tree | df6747620113a36812194db3456729aac2fa1b08 /drivers/opus/celt/os_support.h | |
| parent | a3d81cab8a97eeece54ebadb82c40532188b4d57 (diff) | |
| download | godot-7c59d819a7ebb936d51ca032e66a2489e4080d08.tar.gz godot-7c59d819a7ebb936d51ca032e66a2489e4080d08.tar.zst godot-7c59d819a7ebb936d51ca032e66a2489e4080d08.zip | |
Diffstat (limited to 'drivers/opus/celt/os_support.h')
| -rw-r--r-- | drivers/opus/celt/os_support.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/opus/celt/os_support.h b/drivers/opus/celt/os_support.h index e1cf88446..5e36b3ae5 100644 --- a/drivers/opus/celt/os_support.h +++ b/drivers/opus/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 |
