Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
ccc9e1da
Commit
ccc9e1da
authored
Apr 29, 2015
by
James Zern
Committed by
Gerrit Code Review
Apr 29, 2015
Browse files
Merge "vpx_mem: remove REPLACE_BUILTIN_FUNCTIONS"
parents
4902606b
3e9263e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpx_mem/vpx_mem.h
View file @
ccc9e1da
...
...
@@ -17,11 +17,6 @@
# include <lddk.h>
#endif
#ifndef REPLACE_BUILTIN_FUNCTIONS
# define REPLACE_BUILTIN_FUNCTIONS 0
/* replace builtin functions with their
vpx_ equivalents */
#endif
#include <stdlib.h>
#include <stddef.h>
...
...
@@ -42,24 +37,6 @@ extern "C" {
#endif
void
*
vpx_memmove
(
void
*
dest
,
const
void
*
src
,
size_t
count
);
/* some defines for backward compatibility */
#define DMEM_GENERAL 0
// (*)<
#if REPLACE_BUILTIN_FUNCTIONS
# ifndef __VPX_MEM_C__
# define memalign vpx_memalign
# define malloc vpx_malloc
# define calloc vpx_calloc
# define realloc vpx_realloc
# define free vpx_free
# define memcpy vpx_memcpy
# define memmove vpx_memmove
# define memset vpx_memset
# endif
#endif
#ifndef __VPX_MEM_C__
# include <string.h>
# define vpx_memcpy memcpy
...
...
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