diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/ruby/oniguruma.h | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Sun Jul 20 12:36:46 2014 Eric Wong <e@80x24.org> + + * include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448 + bytes from 464 bytes on 64-bit. This breaks the ABI. + [Feature #10034] + Sun Jul 20 01:06:06 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * ext/openssl/ossl.c: use encryptor instead of encrypter in doc. diff --git a/include/ruby/oniguruma.h b/include/ruby/oniguruma.h index 10217fdf0e..acb7365a88 100644 --- a/include/ruby/oniguruma.h +++ b/include/ruby/oniguruma.h @@ -674,13 +674,15 @@ typedef struct re_pattern_buffer { unsigned int bt_mem_end; /* need backtrack flag */ int stack_pop_level; int repeat_range_alloc; + + OnigOptionType options; + OnigRepeatRange* repeat_range; OnigEncoding enc; - OnigOptionType options; const OnigSyntaxType* syntax; - OnigCaseFoldType case_fold_flag; void* name_table; + OnigCaseFoldType case_fold_flag; /* optimization info (string search, char-map and anchors) */ int optimize; /* optimize flag */ |