Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still...
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_skiphead.h
index c479bab0c221082a526fa5ac534685d6509118e5..933c126e36dd40ca6a9626f8fba2ab619e28a39d 100644 (file)
@@ -32,18 +32,18 @@ typedef boost::shared_ptr<gr_skiphead> gr_skiphead_sptr;
 
 /*!
  * \brief skips the first N items, from then on copies items to the output
- * \ingroup flow
+ * \ingroup slicedice_blk
  *
  * Useful for building test cases and sources which have metadata or junk at the start
  */
 
 class gr_skiphead : public gr_block
 {
-  friend gr_skiphead_sptr gr_make_skiphead (size_t itemsize, size_t nitems_to_skip);
-  gr_skiphead (size_t itemsize, size_t nitems_to_skip);
+  friend gr_skiphead_sptr gr_make_skiphead (size_t itemsize, uint64_t nitems_to_skip);
+  gr_skiphead (size_t itemsize, uint64_t nitems_to_skip);
 
-  long long            d_nitems_to_skip;
-  long long            d_nitems;               // total items seen
+  uint64_t             d_nitems_to_skip;
+  uint64_t             d_nitems;               // total items seen
 
  public:
 
@@ -54,7 +54,7 @@ class gr_skiphead : public gr_block
 };
 
 gr_skiphead_sptr
-gr_make_skiphead (size_t itemsize, size_t nitems_to_skip);
+gr_make_skiphead (size_t itemsize, uint64_t nitems_to_skip);
 
 
 #endif /* INCLUDED_GR_SKIPHEAD_H */