source: trunk/libs/newlib/src/newlib/libc/machine/powerpc/machine/malloc.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 484 bytes
Line 
1#ifndef _MACHMALLOC_H_
2#define _MACHMALLOC_H_
3
4# if defined(__ALTIVEC__)
5
6void *vec_calloc (size_t __nmemb, size_t __size);
7void *_vec_calloc_r (struct _reent *, size_t __nmemb, size_t __size);
8void   vec_free (void *);
9#define _vec_freer _freer
10void *vec_malloc (size_t __size);
11#define _vec_mallocr _memalign_r
12void *vec_realloc (void *__r, size_t __size);
13void *_vec_realloc_r (struct _reent *, void *__r, size_t __size);
14
15# endif /* __ALTIVEC__ */
16
17
18#endif  /* _MACHMALLOC_H_ */
19
20
Note: See TracBrowser for help on using the repository browser.