1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2008-03-19 01:19:29 +00:00
parent 91a761b4d0
commit f55963c939
3 changed files with 12 additions and 5 deletions

View file

@ -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