mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
typos
This commit is contained in:
parent
95d2d7920c
commit
a797ded8e2
Notes:
git
2022-08-28 06:43:22 +09:00
4 changed files with 5 additions and 4 deletions
|
@ -103,7 +103,7 @@
|
|||
# /* keep NDEBUG undefined */
|
||||
|
||||
#elif (RBIMPL_NDEBUG == 0) && (RBIMPL_RUBY_DEBUG == 0)
|
||||
# /* The (*1) situation in avobe diagram. */
|
||||
# /* The (*1) situation in above diagram. */
|
||||
# define RUBY_DEBUG 0
|
||||
# define RUBY_NDEBUG 1
|
||||
# define NDEBUG
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
* 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.
|
||||
* @brief Conversion between C's arithmtic types and Ruby's numeric types.
|
||||
* @brief Conversion between C's arithmetic types and Ruby's numeric types
|
||||
* .
|
||||
*/
|
||||
#include "ruby/internal/arithmetic/char.h"
|
||||
#include "ruby/internal/arithmetic/double.h"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
/**
|
||||
* Wraps (or simulates) `[[nodiscard]]`. In C++ (at least since C++20) a
|
||||
* nodiscard attribute can have a message why the result shall not be ignoed.
|
||||
* nodiscard attribute can have a message why the result shall not be ignored.
|
||||
* However GCC attribute and SAL annotation cannot take them.
|
||||
*/
|
||||
#if RBIMPL_HAS_CPP_ATTRIBUTE(nodiscard)
|
||||
|
|
|
@ -136,7 +136,7 @@ rb_fd_max(const rb_fdset_t *f)
|
|||
}
|
||||
|
||||
/** @cond INTERNAL_MACRO */
|
||||
/* :FIXME: What are these? They don't exist for shibling implementations. */
|
||||
/* :FIXME: What are these? They don't exist for sibling implementations. */
|
||||
#define rb_fd_init_copy(d, s) (*(d) = *(s))
|
||||
#define rb_fd_term(f) ((void)(f))
|
||||
/** @endcond */
|
||||
|
|
Loading…
Reference in a new issue