Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Speex
Commits
1f61ae81
Commit
1f61ae81
authored
Aug 10, 2014
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os_support: fix misleading comments
cherry-picked from speexdsp 86779a06f6500d041573d6252d4971d3bfcb4b18
parent
5e495a61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libspeex/os_support.h
libspeex/os_support.h
+3
-3
No files found.
libspeex/os_support.h
View file @
1f61ae81
...
...
@@ -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
s
*/
/**
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment