2020-04-10 01:11:40 -04:00
|
|
|
#ifndef RUBY_RUBY_BACKWARD_H /*-*-C++-*-vi:se ft=cpp:*/
|
2016-01-06 21:34:33 -05:00
|
|
|
#define RUBY_RUBY_BACKWARD_H 1
|
2020-04-10 01:11:40 -04:00
|
|
|
/**
|
|
|
|
* @author Ruby developers <ruby-core@ruby-lang.org>
|
|
|
|
* @copyright This file is a part of the programming language Ruby.
|
|
|
|
* Permission is hereby granted, to either redistribute and/or
|
|
|
|
* modify this file, provided that the conditions mentioned in the
|
|
|
|
* file COPYING are met. Consult the file for details.
|
|
|
|
*/
|
2020-05-08 05:31:09 -04:00
|
|
|
#include "ruby/internal/value.h"
|
|
|
|
#include "ruby/internal/interpreter.h"
|
2020-04-08 00:28:13 -04:00
|
|
|
#include "ruby/backward/2/attributes.h"
|
2016-01-06 21:34:33 -05:00
|
|
|
|
2020-12-30 06:56:10 -05:00
|
|
|
#define RBIMPL_ATTR_DEPRECATED_SINCE(ver) RBIMPL_ATTR_DEPRECATED(("since " #ver))
|
2020-12-30 22:23:29 -05:00
|
|
|
#define RBIMPL_ATTR_DEPRECATED_INTERNAL(ver) RBIMPL_ATTR_DEPRECATED(("since "#ver", also internal"))
|
2022-01-12 21:48:12 -05:00
|
|
|
#define RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() RBIMPL_ATTR_DEPRECATED(("only for internal use"))
|
|
|
|
|
2022-03-25 07:29:09 -04:00
|
|
|
RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() void rb_clear_constant_cache(void);
|
|
|
|
|
2017-02-21 00:17:41 -05:00
|
|
|
/* from version.c */
|
2020-07-21 22:30:05 -04:00
|
|
|
#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
|
2021-12-30 04:52:04 -05:00
|
|
|
# error RUBY_SHOW_COPYRIGHT_TO_DIE is deprecated
|
2016-01-06 21:34:33 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* RUBY_RUBY_BACKWARD_H */
|