summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2012-07-18 15:47:57 +0900
committerMasaki Muranaka <[email protected]>2012-07-18 15:47:57 +0900
commitf146fd039706c426c738fc1186a86fa1fca89a4a (patch)
treed907a2584ffca628597d6d166fc0ea35aac8fb5e /include
parent7bb71a7d5826accc50a521e770b5b7afe283ad90 (diff)
downloadmruby-f146fd039706c426c738fc1186a86fa1fca89a4a.tar.gz
mruby-f146fd039706c426c738fc1186a86fa1fca89a4a.zip
MRB_FUNCALL_ARGC_MAX support. (refs comments in #324).
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h4
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