ruby-changes:24626
From: drbrain <ko1@a...>
Date: Fri, 10 Aug 2012 08:42:38 +0900 (JST)
Subject: [ruby-changes:24626] drbrain:r36677 (trunk): * gc.c (gc_malloc_allocated_size): RDoc does not process macros, so
drbrain 2012-08-10 08:42:01 +0900 (Fri, 10 Aug 2012) New Revision: 36677 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36677 Log: * gc.c (gc_malloc_allocated_size): RDoc does not process macros, so mention this method is only available when ruby is built with CALC_EXACT_MALLOC_SIZE * gc.c (gc_malloc_allocations): ditto Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36676) +++ ChangeLog (revision 36677) @@ -1,3 +1,10 @@ +Fri Aug 10 08:41:28 2012 Eric Hodel <drbrain@s...> + + * gc.c (gc_malloc_allocated_size): RDoc does not process macros, so + mention this method is only available when ruby is built with + CALC_EXACT_MALLOC_SIZE + * gc.c (gc_malloc_allocations): ditto + Thu Aug 9 23:46:51 2012 Nobuyoshi Nakada <nobu@r...> * tool/mkrunnable.rb: see build_os instead of target arch for Index: gc.c =================================================================== --- gc.c (revision 36676) +++ gc.c (revision 36677) @@ -3471,9 +3471,8 @@ * call-seq: * GC.malloc_allocated_size -> Integer * - * The allocated size by malloc(). - * - * It returns the allocated size by malloc(). + * Returns the size of memory allocated by malloc(). Only available if ruby + * was built with CALC_EXACT_MALLOC_SIZE. */ static VALUE @@ -3486,9 +3485,8 @@ * call-seq: * GC.malloc_allocations -> Integer * - * The number of allocated memory object by malloc(). - * - * It returns the number of allocated memory object by malloc(). + * Returns the number of malloc() allocations. Only available if ruby was + * built with CALC_EXACT_MALLOC_SIZE. */ static VALUE -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/