X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=5fb79198eb2b6efe64f0e3cd1f0995d4d8ca14cf;hb=de1d99bbe58f825e30048baa48a9439c01686f10;hp=7f36ee7886ddaa528633a293701c09cdb94b09de;hpb=1b1ec774978b65209ce2b454cbf81da499b797d2;p=pulseview.git diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index 7f36ee7..5fb7919 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -21,9 +21,7 @@ #ifndef PULSEVIEW_PV_DATA_SNAPSHOT_H #define PULSEVIEW_PV_DATA_SNAPSHOT_H -extern "C" { #include -} #include @@ -37,7 +35,7 @@ public: virtual ~Snapshot(); - uint64_t get_sample_count(); + uint64_t get_sample_count() const; protected: void append_data(void *data, uint64_t samples);