Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
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().