Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
backward.h
1#ifndef RUBY_RUBY_BACKWARD_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_RUBY_BACKWARD_H 1
10#include "ruby/internal/value.h"
12#include "ruby/backward/2/attributes.h"
13
14#define RBIMPL_ATTR_DEPRECATED_SINCE(ver) RBIMPL_ATTR_DEPRECATED(("since " #ver))
15#define RBIMPL_ATTR_DEPRECATED_INTERNAL(ver) RBIMPL_ATTR_DEPRECATED(("since "#ver", also internal"))
16#define RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() RBIMPL_ATTR_DEPRECATED(("only for internal use"))
17
18RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() void rb_clear_constant_cache(void);
19
20/* from version.c */
21#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
22# error RUBY_SHOW_COPYRIGHT_TO_DIE is deprecated
23#endif
24
25#endif /* RUBY_RUBY_BACKWARD_H */
Interpreter embedding APIs.
Defines VALUE and ID.