This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] [newlib, nano] Implement nano_malloc_stats


On Oct 24 10:35, Joey Ye wrote:
> This patch supports malloc_stats for nano-malloc.
> 
> ChangeLog:
> 2013/10/24  Joey Ye  <...>
> 
> 	Implement malloc_stats for nano.
> 	libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
> 	(sbrk_start): New variable.
> 	(current_mallinfo, free_list): Forward declaration of data.
> 	(chunk): Define size as long type.
> 	(mallinfo): Synchronize with latest malloc.h.
> 	(nano_*): Forward declaration of functions.
> 	(get_chunk_from_ptr): Defined to static inline.
> 	(nano_mallinfo): Implement this function.
> 	(nano_malloc_stats): Implement this function.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgp8wJG73NvNj.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]