]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/rowdata.hpp
Fix #977 properly by checking whether a row actually has annotations
[pulseview.git] / pv / data / decode / rowdata.hpp
index 0589ec894eb444fad4f2d0d759c98a1eabc13fc7..3c967ff70b1e8998d60903c39bcc35e2e8fcc2ce 100644 (file)
@@ -42,6 +42,8 @@ public:
 public:
        uint64_t get_max_sample() const;
 
+       uint64_t get_annotation_count() const;
+
        /**
         * Extracts annotations between the given sample range into a vector.
         * Note: The annotations are unsorted and only annotations that fully