From fc9a91c4a69532d22dc12775c28c5a32d9935f4b Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Thu, 17 Jul 2014 21:48:17 +0900 Subject: Add field `allocf_ud` to replace current `ud`. Since some use it as `mrb_state` associated user data. --- include/mruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mruby.h') diff --git a/include/mruby.h b/include/mruby.h index 5c99052c1..c4466de4c 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -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; -- cgit v1.2.3