forked from len0rd/rockbox
First version of vorbis decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6017 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1839a956ba
commit
4d961f2128
6 changed files with 185 additions and 1 deletions
|
|
@ -53,6 +53,12 @@ void* calloc(size_t nmemb, size_t size) {
|
|||
return(x);
|
||||
}
|
||||
|
||||
void* alloca(size_t size) {
|
||||
void* x;
|
||||
x=malloc(size);
|
||||
return(x);
|
||||
}
|
||||
|
||||
void free(void* ptr) {
|
||||
(void)ptr;
|
||||
}
|
||||
|
|
@ -76,6 +82,14 @@ int memcmp(const void *s1, const void *s2, size_t n) {
|
|||
return(local_rb->memcmp(s1,s2,n));
|
||||
}
|
||||
|
||||
void* memchr(const void *s, int c, size_t n) {
|
||||
/* TO DO: Implement for Tremor */
|
||||
(void)s;
|
||||
(void)c;
|
||||
(void)n;
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
void* memmove(const void *s1, const void *s2, size_t n) {
|
||||
char* dest=(char*)s1;
|
||||
char* src=(char*)s2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue