mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Move these macros from include/ruby/backward.h to include/ruby/internal/attr/deprecated.h, alongside the other similar macros. include/ruby/internal/intern/vm.h cannot currently use them because include/ruby/backward.h is included too late.
22 lines
861 B
C++
22 lines
861 B
C++
#ifndef RUBY_RUBY_BACKWARD_H /*-*-C++-*-vi:se ft=cpp:*/
|
|
#define RUBY_RUBY_BACKWARD_H 1
|
|
/**
|
|
* @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.
|
|
*/
|
|
#include "ruby/internal/value.h"
|
|
#include "ruby/internal/interpreter.h"
|
|
#include "ruby/backward/2/attributes.h"
|
|
|
|
RBIMPL_ATTR_DEPRECATED_INTERNAL_ONLY() void rb_clear_constant_cache(void);
|
|
|
|
/* from version.c */
|
|
#if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0)
|
|
# error RUBY_SHOW_COPYRIGHT_TO_DIE is deprecated
|
|
#endif
|
|
|
|
#endif /* RUBY_RUBY_BACKWARD_H */
|