summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-07-24 23:22:58 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-07-24 23:22:58 +0900
commit875c07a742e87208a60ce465993f7aef39c007d1 (patch)
treee0aecd78945371e20f6004a6fac39abf0cff80e8 /include
parent6055ebaf782691f226517700cdc87a2536c0cca8 (diff)
parentfc9a91c4a69532d22dc12775c28c5a32d9935f4b (diff)
downloadmruby-875c07a742e87208a60ce465993f7aef39c007d1.tar.gz
mruby-875c07a742e87208a60ce465993f7aef39c007d1.zip
Merge pull request #2477 from take-cheeze/allocf_ud
Add field `allocf_ud` to replace current `ud`.
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;