summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-07-17 21:48:17 +0900
committertake_cheeze <[email protected]>2014-07-17 21:48:17 +0900
commitfc9a91c4a69532d22dc12775c28c5a32d9935f4b (patch)
tree34261c42de1e0b7777b32bb76fd8c55c29e82152 /include
parentd17506c176ef6d1ac70e84664790cdb1cb2cf3de (diff)
downloadmruby-fc9a91c4a69532d22dc12775c28c5a32d9935f4b.tar.gz
mruby-fc9a91c4a69532d22dc12775c28c5a32d9935f4b.zip
Add field `allocf_ud` to replace current `ud`.
Since some use it as `mrb_state` associated user data.
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
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;