aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-26 18:31:24 +0100
committerMattias Andrée <m@maandree.se>2026-01-26 18:31:24 +0100
commitd2569edaafac2c92a9782327370ad11e1f878495 (patch)
tree3c4542e716a73154c280ad07fb5358c4e89782e3 /libcharconv.h
parentClean up (diff)
downloadcharconv-d2569edaafac2c92a9782327370ad11e1f878495.tar.gz
charconv-d2569edaafac2c92a9782327370ad11e1f878495.tar.bz2
charconv-d2569edaafac2c92a9782327370ad11e1f878495.tar.xz
Add metrical
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcharconv.h')
-rw-r--r--libcharconv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libcharconv.h b/libcharconv.h
index 1c8c4b9..6693376 100644
--- a/libcharconv.h
+++ b/libcharconv.h
@@ -472,6 +472,20 @@ LIBCHARCONV_FUNC_(libcharconv_enclosed_positive);
*/
LIBCHARCONV_FUNC_(libcharconv_enclosed_negative);
+/**
+ * Convert
+ * '1' to METRICAL BREVE,
+ * '2' to METRICAL TWO SHORTS JOINED,
+ * '-1' to METRICAL LONG OVER SHORT,
+ * '-2' to METRICAL LONG OVER TWO SHORTS,
+ * '_1' to METRICAL SHORT OVER LONG,
+ * '_2' to METRICAL TWO SHORTS OVER LONG,
+ * '3' to METRICAL TRISEME,
+ * '4' to METRICAL TETRASEME, and
+ * '5' to METRICAL PENTASEME
+ */
+LIBCHARCONV_FUNC_(libcharconv_metrical);
+
#undef LIBCHARCONV_FUNC_
#endif