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?= Date: Mon, 11 Jan 2021 17:24:33 +0900 Subject: [PATCH] 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 9d290a7144..173f27115e 100644 --- a/include/ruby/internal/xmalloc.h +++ b/include/ruby/internal/xmalloc.h @@ -196,7 +196,6 @@ RBIMPL_ATTR_ALLOC_SIZE((2,3)) * 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) 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__)