mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #250 from MobiRuby/add_ud_to_mrb_state
add auxiliary data pointer to mrb_state
This commit is contained in:
@@ -280,6 +280,8 @@ typedef struct mrb_state {
|
||||
struct RClass *eException_class;
|
||||
struct RClass *eStandardError_class;
|
||||
struct RClass *eRuntimeError_class;
|
||||
|
||||
void *ud; /* auxiliary data */
|
||||
} mrb_state;
|
||||
|
||||
typedef mrb_value (*mrb_func_t)(mrb_state *mrb, mrb_value);
|
||||
|
||||
Reference in New Issue
Block a user