diff options
author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2022-11-08 15:05:52 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-11-09 23:21:26 +0900 |
commit | 22294731a82642ac63ed6708e0015361d05d6677 (patch) | |
tree | 665b7b1a52a9a6b3130009c01aed59877534832c /include/ruby | |
parent | 0a14825f731afc468481569d332027abdd58cd4e (diff) |
Refactor field names
Diffstat (limited to 'include/ruby')
-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); |