diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-18 06:08:51 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-18 06:08:51 -0700 |
| commit | a7e0f9f6408f3c1a081ca221615f2e675deb2976 (patch) | |
| tree | d907a2584ffca628597d6d166fc0ea35aac8fb5e /include | |
| parent | fdc224ff2fd43edfcb8cbe3d60a57bbe6daf1459 (diff) | |
| parent | f146fd039706c426c738fc1186a86fa1fca89a4a (diff) | |
| download | mruby-a7e0f9f6408f3c1a081ca221615f2e675deb2976.tar.gz mruby-a7e0f9f6408f3c1a081ca221615f2e675deb2976.zip | |
Merge pull request #324 from monaka/pr-remove-magic-numbers-in-mrb_funcall
Remove magic numbers in mrb_funcall()
Diffstat (limited to 'include')
| -rw-r--r-- | include/mrbconf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index 5d307e66f..757192d89 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -23,6 +23,10 @@ #undef HAVE_UNISTD_H /* WINDOWS */ #define HAVE_UNISTD_H /* LINUX */ + +#define MRB_FUNCALL_ARGC_MAX 16U /* Allocate arrays using auto variable. */ +//#undef MRB_FUNCALL_ARGC_MAX /* Allocate arrays using mrb_malloc if undefned. */ + /* end of configuration */ #ifdef MRB_USE_FLOAT |
