diff options
author | 卜部昌平 <[email protected]> | 2020-12-22 16:15:35 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-12-22 16:18:17 +0900 |
commit | 7fbad9224188905a6d96dee5aad5b1e1564e4461 (patch) | |
tree | 243f650ad2060547be895633572a29b6cd53f13a /object.c | |
parent | 7898bc92258aff74d7600abe5dbdedff9b543cf0 (diff) |
rb_cData: no longer exists
Commit 8918a9cf6c65409ae1ffcdea324a1b97c6e5bb70 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.
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 */ |