[前][次][番号順一覧][スレッド一覧]

ruby-changes:62708

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 27 Aug 2020 14:08:20 +0900 (JST)
Subject: [ruby-changes:62708] 4bc3846389 (master): git rm include/ruby/backward/classext.h

https://git.ruby-lang.org/ruby.git/commit/?id=4bc3846389

From 4bc3846389eea28da2ef8c95a199f28b43060779 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Wed, 22 Jul 2020 10:10:25 +0900
Subject: git rm include/ruby/backward/classext.h


diff --git a/include/ruby/backward/classext.h b/include/ruby/backward/classext.h
deleted file mode 100644
index 61d0561..0000000
--- a/include/ruby/backward/classext.h
+++ /dev/null
@@ -1,25 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/#L0
-#ifndef RUBY_BACKWARD_CLASSEXT_H                     /*-*-C++-*-vi:se ft=cpp:*/
-#define RUBY_BACKWARD_CLASSEXT_H
-/**
- * @file
- * @author     Ruby developers <ruby-core@r...>
- * @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.
- */
-#if   defined __GNUC__
-#warning use of RClass internals is deprecated
-#elif defined _MSC_VER
-#pragma message("warning: use of RClass internals is deprecated")
-#endif
-
-typedef struct rb_deprecated_classext_struct {
-    VALUE super;
-} rb_deprecated_classext_t;
-
-#undef RCLASS_SUPER(c)
-#define RCLASS_EXT(c) ((rb_deprecated_classext_t *)RCLASS(c)->ptr)
-#define RCLASS_SUPER(c) (RCLASS(c)->super)
-
-#endif /* RUBY_BACKWARD_CLASSEXT_H */
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]