diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-12 11:16:58 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-12 11:16:58 +0900 |
| commit | 9b7198c2224057110bd77d9342d46d36410baa27 (patch) | |
| tree | d82e58b8c3824ebc658d779f057cd0733d57e564 /mrbgems | |
| parent | fee639775e18778bd84a7836500c192e53f194b7 (diff) | |
| parent | 7c4961234d95536f46e98b6801db506ca7017377 (diff) | |
| download | mruby-9b7198c2224057110bd77d9342d46d36410baa27.tar.gz mruby-9b7198c2224057110bd77d9342d46d36410baa27.zip | |
Merge pull request #1846 from take-cheeze/funcall_fix
Fix mrb_funcall calling.
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-struct/src/struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c index 02b842e53..646414f0c 100644 --- a/mrbgems/mruby-struct/src/struct.c +++ b/mrbgems/mruby-struct/src/struct.c @@ -381,7 +381,7 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass) } st = make_struct(mrb, name, rest, struct_class(mrb)); if (!mrb_nil_p(b)) { - mrb_funcall(mrb, b, "call", 1, &st); + mrb_funcall(mrb, b, "call", 1, st); } return st; |
