summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-07-19 17:45:13 +0900
committerYukihiro Matsumoto <[email protected]>2012-07-19 17:45:13 +0900
commit4b9ef5dabee09115edc15ecad05b335ecfaf598d (patch)
tree4e4cd8efd8f8bbecfd1dfc1bc7763b48cfb312d0 /include
parent8ae67d10b33aef56eab8ccd13b2a7471968df1ee (diff)
downloadmruby-4b9ef5dabee09115edc15ecad05b335ecfaf598d.tar.gz
mruby-4b9ef5dabee09115edc15ecad05b335ecfaf598d.zip
use no malloc in mrb_funcall; close #386
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 757192d89..cf8217b23 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -21,12 +21,11 @@
//#define DISABLE_STRUCT /* Struct class */
//#define DISABLE_STDIO /* use of stdio */
+//#define MRB_FUNCALL_ARGC_MAX 16 /* argv size in mrb_funcall */
+
#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