diff options
Diffstat (limited to 'include/ruby/onigmo.h')
-rw-r--r-- | include/ruby/onigmo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ruby/onigmo.h b/include/ruby/onigmo.h index 703f38f590..40cbedd4df 100644 --- a/include/ruby/onigmo.h +++ b/include/ruby/onigmo.h @@ -744,8 +744,9 @@ typedef struct { typedef struct { int lower; int upper; - int base_num; - int inner_num; + /* These fields are for cache optimization. */ + int base_point; + int inner_point; } OnigRepeatRange; typedef void (*OnigWarnFunc)(const char* s); |