Merge pull request #2477 from take-cheeze/allocf_ud

Add field `allocf_ud` to replace current `ud`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-07-24 23:22:58 +09:00
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -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;