|
Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
|
Defines RBIMPL_ATTR_CONST. More...
#include "ruby/internal/compiler_since.h"#include "ruby/internal/has/attribute.h"#include "ruby/internal/has/declspec_attribute.h"Go to the source code of this file.
Macros | |
| #define | RBIMPL_ATTR_CONST() |
| Wraps (or simulates) __attribute__((const)). | |
| #define | RBIMPL_ATTR_CONST_UNLESS_DEBUG() |
| Enables RBIMPL_ATTR_CONST if and only if. | |
Defines RBIMPL_ATTR_CONST.
Definition in file const.h.
| #define RBIMPL_ATTR_CONST | ( | ) |
Wraps (or simulates) __attribute__((const)).
| #define RBIMPL_ATTR_CONST_UNLESS_DEBUG | ( | ) |
Enables RBIMPL_ATTR_CONST if and only if.
! RUBY_DEBUG.