ruby-changes:67711
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Sep 2021 20:00:47 +0900 (JST)
Subject: [ruby-changes:67711] a300133b4a (master): include/ruby/internal/xmalloc.h: fix typo [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=a300133b4a From a300133b4ada9d647e8c57914727bc4fac25647e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Mon, 11 Jan 2021 17:24:33 +0900 Subject: include/ruby/internal/xmalloc.h: fix typo [ci skip] --- include/ruby/internal/xmalloc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/ruby/internal/xmalloc.h b/include/ruby/internal/xmalloc.h index 9d290a7..173f271 100644 --- a/include/ruby/internal/xmalloc.h +++ b/include/ruby/internal/xmalloc.h @@ -196,7 +196,6 @@ RBIMPL_ATTR_ALLOC_SIZE((2,3)) https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/xmalloc.h#L196 * previously returned from either ruby_xmalloc(), * ruby_xmalloc2(), ruby_xcalloc(), * ruby_xrealloc(), or ruby_xrealloc2(). - * @param[in] newelems Requested new number of elements. * @param[in] newsiz Requested new size of each element. * @exception rb_eNoMemError No space left for allocation. @@ -253,7 +252,7 @@ void ruby_xfree(void *ptr) https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/xmalloc.h#L252 RBIMPL_ATTR_NOEXCEPT(free(ptr)) ; -#if USE_GC_MALLOC_OBJ_INFO_DETAILS || defined(__DOXYGEN) +#if USE_GC_MALLOC_OBJ_INFO_DETAILS # define ruby_xmalloc(s1) ruby_xmalloc_with_location(s1, __FILE__, __LINE__) # define ruby_xmalloc2(s1, s2) ruby_xmalloc2_with_location(s1, s2, __FILE__, __LINE__) # define ruby_xcalloc(s1, s2) ruby_xcalloc_with_location(s1, s2, __FILE__, __LINE__) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/