diff options
author | Josh Blum <josh@joshknows.com> | 2011-07-20 18:38:36 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-20 18:38:36 -0700 |
commit | f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5 (patch) | |
tree | 14287905b65ded74112b7baaf4ed5cd4bfe028d9 /gnuradio-core/src/lib/general/gr_head.h | |
parent | 1e1798393381fe7472a7cdb5b2c3c90d7ae753fb (diff) |
core: API declaration macros for core class and function symbols
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_head.h')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_head.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/general/gr_head.h b/gnuradio-core/src/lib/general/gr_head.h index f7eee10648..f66d433089 100644 --- a/gnuradio-core/src/lib/general/gr_head.h +++ b/gnuradio-core/src/lib/general/gr_head.h @@ -23,6 +23,7 @@ #ifndef INCLUDED_GR_HEAD_H #define INCLUDED_GR_HEAD_H +#include <gr_core_api.h> #include <gr_sync_block.h> #include <stddef.h> // size_t @@ -36,9 +37,9 @@ typedef boost::shared_ptr<gr_head> gr_head_sptr; * Useful for building test cases */ -class gr_head : public gr_sync_block +class GR_CORE_API gr_head : public gr_sync_block { - friend gr_head_sptr gr_make_head (size_t sizeof_stream_item, unsigned long long nitems); + friend GR_CORE_API gr_head_sptr gr_make_head (size_t sizeof_stream_item, unsigned long long nitems); gr_head (size_t sizeof_stream_item, unsigned long long nitems); unsigned long long d_nitems; @@ -52,7 +53,7 @@ class gr_head : public gr_sync_block void reset() { d_ncopied_items = 0; } }; -gr_head_sptr +GR_CORE_API gr_head_sptr gr_make_head (size_t sizeof_stream_item, unsigned long long nitems); |