summaryrefslogtreecommitdiffstats
path: root/itypes.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-06-20 00:09:25 -0700
committerKaz Kylheku <kaz@kylheku.com>2024-06-20 00:09:25 -0700
commit6bd0f5494990a18352de716987460914858d2f82 (patch)
tree8e36724451ab2f6199e387cdfc0daaba75a14b13 /itypes.h
parent635aa6b2b6395a1f7c20cd4182f7be261f98b36e (diff)
downloadtxr-6bd0f5494990a18352de716987460914858d2f82.tar.gz
txr-6bd0f5494990a18352de716987460914858d2f82.tar.bz2
txr-6bd0f5494990a18352de716987460914858d2f82.zip
length: support string ranges.
For calculating the length of a range, we can't just do numeric subtractions because it fails for string ranges. * lib.c (length_str_range, length_rng): New static functions. (length): Use length_rng for ranges.
Diffstat (limited to 'itypes.h')
0 files changed, 0 insertions, 0 deletions