X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=5fb79198eb2b6efe64f0e3cd1f0995d4d8ca14cf;hp=7f36ee7886ddaa528633a293701c09cdb94b09de;hb=479bcabe6b4d0b1f51984085d9944ce6b03ed07c;hpb=1b1ec774978b65209ce2b454cbf81da499b797d2 diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index 7f36ee78..5fb79198 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);