diff options
author | David Mitchell <davem@iabyn.com> | 2013-12-16 14:18:58 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-02-07 22:39:35 +0000 |
commit | c4828ca064b9f0fedfefdb69a599f1c8f59fd0f6 (patch) | |
tree | c54ad219c8bb86f7956fdb272fc1770efc518c85 /regexp.h | |
parent | d6ef167873919ed43a86136ba20f5a410a05e7ca (diff) | |
download | perl-c4828ca064b9f0fedfefdb69a599f1c8f59fd0f6.tar.gz |
regexp.h: document the fields of reg_substr_datum
In particular, specify that the various offset fields are char rather
than byte counts.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,11 +36,11 @@ struct regexp_engine; struct regexp; struct reg_substr_datum { - SSize_t min_offset; - SSize_t max_offset; + SSize_t min_offset; /* min pos (in chars) that substr must appear */ + SSize_t max_offset /* max pos (in chars) that substr must appear */; SV *substr; /* non-utf8 variant */ SV *utf8_substr; /* utf8 variant */ - SSize_t end_shift; + SSize_t end_shift; /* how many fixed chars must end the string */ }; struct reg_substr_data { struct reg_substr_datum data[3]; /* Actual array */ |