summaryrefslogtreecommitdiff
path: root/include/ruby/internal/constant_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/constant_p.h')
-rw-r--r--include/ruby/internal/constant_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ruby/internal/constant_p.h b/include/ruby/internal/constant_p.h
index e54a8d85b9..92d69cb972 100644
--- a/include/ruby/internal/constant_p.h
+++ b/include/ruby/internal/constant_p.h
@@ -17,7 +17,7 @@
* recursively included from extension libraries written in C++.
* Do not expect for instance `__VA_ARGS__` is always available.
* We assume C99 for ruby itself but we don't assume languages of
- * extension libraries. They could be written in C++98.
+ * extension libraries. They could be written in C++98.
* @brief Defines #RBIMPL_CONSTANT_P.
*
* Note that __builtin_constant_p can be applicable inside of inline functions,
@@ -28,6 +28,7 @@
*/
#include "ruby/internal/has/builtin.h"
+/** Wraps (or simulates) `__builtin_constant_p` */
#if RBIMPL_HAS_BUILTIN(__builtin_constant_p)
# define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr)
#else