diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2014-05-14 19:44:34 -0400 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2014-05-14 19:46:44 -0400 |
commit | 496c74a460bb7fe472f5ee4b8861b65a0f488331 (patch) | |
tree | 4da497328840a900f63f3710c05ff7ec22d31bb2 /gnuradio-runtime/lib/pmt/pmt_int.h | |
parent | 432e3b75300a400e2e99dbe7e9aea58b6b2855b1 (diff) |
pmt: adding pmt.uniform_vector_itemsize(pmt_t vector), returns the size per item in bytes within a uniform vector for any kind of uniform vector
Diffstat (limited to 'gnuradio-runtime/lib/pmt/pmt_int.h')
-rw-r--r-- | gnuradio-runtime/lib/pmt/pmt_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h index aceb7b74d9..ca90c5a475 100644 --- a/gnuradio-runtime/lib/pmt/pmt_int.h +++ b/gnuradio-runtime/lib/pmt/pmt_int.h @@ -238,6 +238,7 @@ public: virtual const void *uniform_elements(size_t &len) = 0; virtual void *uniform_writable_elements(size_t &len) = 0; virtual size_t length() const = 0; + virtual size_t itemsize() const = 0; }; #include "pmt_unv_int.h" |