mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user