error.h: use RBasic instead of RObject for generic objects

RObject is type for objects with instance variables. For generic
objects, use RBasic.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-02-13 11:05:27 +09:00
parent f285420653
commit 441de05376
3 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ MRB_BEGIN_DECL
struct RException {
MRB_OBJECT_HEADER;
struct iv_tbl *iv;
struct RObject *mesg; // NULL or probably RString
struct RObject *backtrace; // NULL, RArray or RData
struct RBasic *mesg; // NULL or probably RString
struct RBasic *backtrace; // NULL, RArray or RData
};
/* error that should terminate execution */