* include/malloc.h (__mingw_aligned_offset_malloc,

__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
	__mingw_aligned_realloc, __mingw_aligned_free): Add
	prototypes.
	* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
	tst-aligned-malloc.c.
	(REPLACE_OBJS): Add mingw-aligned-malloc.o.
This commit is contained in:
Danny Smith
2004-08-24 09:02:45 +00:00
parent a6c2ea7e7c
commit d5afcd86f9
3 changed files with 26 additions and 7 deletions

View File

@ -68,11 +68,19 @@ _CRTIMP void* __cdecl _expand (void*, size_t);
_CRTIMP void * __cdecl _aligned_offset_malloc(size_t, size_t, size_t);
_CRTIMP void * __cdecl _aligned_offset_realloc(void*, size_t, size_t, size_t);
_CRTIMP void* __cdecl _aligned_malloc (size_t, size_t);
_CRTIMP void* __cdecl _aligned_realloc (void*, size_t, size_t);
_CRTIMP void * __cdecl _aligned_malloc (size_t, size_t);
_CRTIMP void * __cdecl _aligned_realloc (void*, size_t, size_t);
_CRTIMP void __cdecl _aligned_free (void*);
#endif /* __MSVCRT_VERSION__ >= 0x0700 */
/* These require libmingwex.a. */
void * __cdecl __mingw_aligned_offset_malloc (size_t, size_t, size_t);
void * __cdecl __mingw_aligned_offset_realloc (void*, size_t, size_t, size_t);
void * __cdecl __mingw_aligned_malloc (size_t, size_t);
void * __cdecl __mingw_aligned_realloc (void*, size_t, size_t);
void __cdecl __mingw_aligned_free (void*);
#ifdef __cplusplus
}
#endif