summaryrefslogtreecommitdiff
path: root/include/ruby/internal/xmalloc.h
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2021-01-11 17:24:33 +0900
committer卜部昌平 <[email protected]>2021-09-10 20:00:06 +0900
commita300133b4ada9d647e8c57914727bc4fac25647e (patch)
tree98f0054cca85ea4eeba3dd69e949a1087060485d /include/ruby/internal/xmalloc.h
parentdaf0c04a47e5aaede2f2a3e3663148dff96ff770 (diff)
include/ruby/internal/xmalloc.h: fix typo [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'include/ruby/internal/xmalloc.h')
-rw-r--r--include/ruby/internal/xmalloc.h3
1 files changed, 1 insertions, 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__)