diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-19 01:19:29 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-19 01:19:29 +0000 |
commit | f55963c939144d39f6bd2a8bf75a7751a922f0ba (patch) | |
tree | 1f610638ee7969a07111857c1acc61deb8d035c2 /regint.h | |
parent | 91a761b4d0929a5055945ccca4797ff57353cac0 (diff) | |
download | ruby-f55963c939144d39f6bd2a8bf75a7751a922f0ba.tar.gz |
* regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt check
during match. [ruby-talk:295002]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r-- | regint.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -110,10 +110,10 @@ #define xfree free #endif -#define CHECK_INTERRUPT_IN_MATCH_AT - #ifdef RUBY +#include "vm_core.h" +#define CHECK_INTERRUPT_IN_MATCH_AT RUBY_VM_CHECK_INTS() #define onig_st_init_table st_init_table #define onig_st_init_table_with_size st_init_table_with_size #define onig_st_init_numtable st_init_numtable @@ -156,6 +156,8 @@ /* */ #define onig_st_is_member st_is_member +#define CHECK_INTERRUPT_IN_MATCH_AT + #endif #define STATE_CHECK_STRING_THRESHOLD_LEN 7 |