diff options
author | Josh Blum | 2011-07-22 11:55:52 -0700 |
---|---|---|
committer | Josh Blum | 2011-07-22 11:55:52 -0700 |
commit | 17ef212c684e13e744a4e4258f7fed2dcbc9a5be (patch) | |
tree | eacddfa5da89deb10a70d927560fabc00a24c828 /gr-trellis/src/lib/trellis_metrics_X.h.t | |
parent | 513febb1932f18f1123e530632032263c2322d9e (diff) | |
download | gnuradio-17ef212c684e13e744a4e4258f7fed2dcbc9a5be.tar.gz gnuradio-17ef212c684e13e744a4e4258f7fed2dcbc9a5be.tar.bz2 gnuradio-17ef212c684e13e744a4e4258f7fed2dcbc9a5be.zip |
trellis: added symbol visibility defines to gr-trellis, builds on MSVC and linux
Diffstat (limited to 'gr-trellis/src/lib/trellis_metrics_X.h.t')
-rw-r--r-- | gr-trellis/src/lib/trellis_metrics_X.h.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gr-trellis/src/lib/trellis_metrics_X.h.t b/gr-trellis/src/lib/trellis_metrics_X.h.t index 45d4ace10..809c27e65 100644 --- a/gr-trellis/src/lib/trellis_metrics_X.h.t +++ b/gr-trellis/src/lib/trellis_metrics_X.h.t @@ -25,26 +25,27 @@ #ifndef @GUARD_NAME@ #define @GUARD_NAME@ +#include <trellis_api.h> #include <gr_block.h> #include "calc_metric.h" class @NAME@; typedef boost::shared_ptr<@NAME@> @SPTR_NAME@; -@SPTR_NAME@ trellis_make_@BASE_NAME@ (int O, int D, const std::vector<@I_TYPE@> &TABLE, trellis_metric_type_t TYPE); +TRELLIS_API @SPTR_NAME@ trellis_make_@BASE_NAME@ (int O, int D, const std::vector<@I_TYPE@> &TABLE, trellis_metric_type_t TYPE); /*! * \brief Evaluate metrics for use by the Viterbi algorithm. * \ingroup coding_blk */ -class @NAME@ : public gr_block +class TRELLIS_API @NAME@ : public gr_block { int d_O; int d_D; trellis_metric_type_t d_TYPE; std::vector<@I_TYPE@> d_TABLE; - friend @SPTR_NAME@ trellis_make_@BASE_NAME@ (int O, int D, const std::vector<@I_TYPE@> &TABLE, trellis_metric_type_t TYPE); + friend TRELLIS_API @SPTR_NAME@ trellis_make_@BASE_NAME@ (int O, int D, const std::vector<@I_TYPE@> &TABLE, trellis_metric_type_t TYPE); @NAME@ (int O, int D, const std::vector<@I_TYPE@> &TABLE, trellis_metric_type_t TYPE); public: |