mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bb979b86f8
commit
33a63355a7
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
Fri Aug 10 08:41:28 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* tool/mkrunnable.rb: see build_os instead of target arch for
|
||||
|
|
10
gc.c
10
gc.c
|
@ -3471,9 +3471,8 @@ ruby_mimmalloc(size_t size)
|
|||
* 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 @@ gc_malloc_allocated_size(VALUE self)
|
|||
* 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
|
||||
|
|
Loading…
Add table
Reference in a new issue