mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add field allocf_ud to replace current ud.
Since some use it as `mrb_state` associated user data.
This commit is contained in:
@@ -112,6 +112,7 @@ typedef struct mrb_state {
|
||||
struct mrb_jmpbuf *jmp;
|
||||
|
||||
mrb_allocf allocf; /* memory allocation function */
|
||||
void *allocf_ud; /* auxiliary data of allocf */
|
||||
|
||||
struct mrb_context *c;
|
||||
struct mrb_context *root_c;
|
||||
|
||||
Reference in New Issue
Block a user