Add Rope_length (mostly as a way to add __attribute__((pure)) to the codebase
[fur] / c / rope.h
index 33319e7..650596d 100644 (file)
--- a/c/rope.h
+++ b/c/rope.h
@@ -21,4 +21,6 @@ Rope* Rope_read(Encoding, FILE);
 
 Rope* Rope_concatenate(Rope* r0, Rope* r1);
 
+size_t Rope_length(Rope*) __attribute__((pure));
+
 #endif