Merge pull request #982 from monaka/pr-make-MRB_STR_BUF_MIN_SIZE-configurable

Rename STR_BUF_MIN_SIZE to MRB_STR_BUF_MIN_SIZE. Make it configurable.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-03-12 17:24:02 -07:00
3 changed files with 10 additions and 4 deletions
+4
View File
@@ -46,6 +46,10 @@
/* page size of memory pool */
//#define POOL_PAGE_SIZE 16000
/* initial minimum size for string buffer */
//#define MRB_STR_BUF_MIN_SIZE 128
/* -DDISABLE_XXXX to drop following features */
//#define DISABLE_STDIO /* use of stdio */
-2
View File
@@ -13,8 +13,6 @@ extern "C" {
#define IS_EVSTR(p,e) ((p) < (e) && (*(p) == '$' || *(p) == '@' || *(p) == '{'))
#define STR_BUF_MIN_SIZE 128
extern const char mrb_digitmap[];
typedef struct mrb_shared_string {