|
Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
|
Defines RBIMPL_ATTR_PURE. More...
#include "ruby/internal/compiler_since.h"#include "ruby/internal/has/attribute.h"#include "ruby/assert.h"Go to the source code of this file.
Macros | |
| #define | RBIMPL_ATTR_PURE() |
| Wraps (or simulates) __attribute__((pure)). | |
| #define | RBIMPL_ATTR_PURE_UNLESS_DEBUG() |
| Enables RBIMPL_ATTR_PURE if and only if. | |
Defines RBIMPL_ATTR_PURE.
Definition in file pure.h.
| #define RBIMPL_ATTR_PURE | ( | ) |
Wraps (or simulates) __attribute__((pure)).
Definition at line 33 of file pure.h.
Referenced by rb_ary_unshift(), rb_fd_clr(), and rb_fd_select().
| #define RBIMPL_ATTR_PURE_UNLESS_DEBUG | ( | ) |
Enables RBIMPL_ATTR_PURE if and only if.
! RUBY_DEBUG.
Definition at line 38 of file pure.h.
Referenced by rb_random_mark().