mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_cData: no longer exists
Commit 8918a9cf6c
introduced macro
`#define rb_cData rb_cData()`. This deleting `VALUE rb_cData;`
declaration was then macro-expanded into `VALUE rb_cData();`. This
worked by accident because the expanded expression happen to be a K&R
style function declaration.
This is rather complicated and I guess unintended. Just delete the line
to keep things simple straight forward.
This commit is contained in:
parent
7898bc9225
commit
7fbad92241
1 changed files with 0 additions and 1 deletions
1
object.c
1
object.c
|
@ -49,7 +49,6 @@ VALUE rb_mKernel; /*!< Kernel module */
|
|||
VALUE rb_cObject; /*!< Object class */
|
||||
VALUE rb_cModule; /*!< Module class */
|
||||
VALUE rb_cClass; /*!< Class class */
|
||||
VALUE rb_cData; /*!< Data class */
|
||||
|
||||
VALUE rb_cNilClass; /*!< NilClass class */
|
||||
VALUE rb_cTrueClass; /*!< TrueClass class */
|
||||
|
|
Loading…
Reference in a new issue