|
Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)
|
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_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().