|
Ruby 3.5.0dev (2025-10-26 revision e3a717512e6d374d5c2355fbeac07d32afffb27b)
|
Defines RBIMPL_ATTR_DEPRECATED. More...
#include "ruby/internal/compiler_since.h"#include "ruby/internal/has/attribute.h"#include "ruby/internal/has/c_attribute.h"#include "ruby/internal/has/cpp_attribute.h"#include "ruby/internal/has/declspec_attribute.h"#include "ruby/internal/has/extension.h"

Go to the source code of this file.
Macros | |
| #define | RBIMPL_ATTR_DEPRECATED(msg) /* void */ |
Wraps (or simulates) [[deprecated]] | |
| #define | RBIMPL_ATTR_DEPRECATED_EXT(msg) RBIMPL_ATTR_DEPRECATED(msg) |
| This is when a function is used internally (for backwards compatibility etc.), but extension libraries must consider it deprecated. | |
Defines RBIMPL_ATTR_DEPRECATED.
RBIMPL or rbimpl are implementation details. Don't take them as canon. They could rapidly appear then vanish. The name (path) of this header file is also an implementation detail. Do not expect it to persist at the place it is now. Developers are free to move it anywhere anytime at will. __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. Definition in file deprecated.h.
| #define RBIMPL_ATTR_DEPRECATED | ( | msg | ) | /* void */ |
Wraps (or simulates) [[deprecated]]
Definition at line 64 of file deprecated.h.
| #define RBIMPL_ATTR_DEPRECATED_EXT | ( | msg | ) | RBIMPL_ATTR_DEPRECATED(msg) |
This is when a function is used internally (for backwards compatibility etc.), but extension libraries must consider it deprecated.
Definition at line 72 of file deprecated.h.