summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/io/i2c_bitbang.h
diff options
context:
space:
mode:
authorJosh Blum2011-07-20 18:38:36 -0700
committerJosh Blum2011-07-20 18:38:36 -0700
commitf914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5 (patch)
tree14287905b65ded74112b7baaf4ed5cd4bfe028d9 /gnuradio-core/src/lib/io/i2c_bitbang.h
parent1e1798393381fe7472a7cdb5b2c3c90d7ae753fb (diff)
downloadgnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.gz
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.tar.bz2
gnuradio-f914499f4a96fe69ab9cd8dba48f8e3bfc7a54e5.zip
core: API declaration macros for core class and function symbols
Diffstat (limited to 'gnuradio-core/src/lib/io/i2c_bitbang.h')
-rw-r--r--gnuradio-core/src/lib/io/i2c_bitbang.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/io/i2c_bitbang.h b/gnuradio-core/src/lib/io/i2c_bitbang.h
index c9deb38ba..feb23b787 100644
--- a/gnuradio-core/src/lib/io/i2c_bitbang.h
+++ b/gnuradio-core/src/lib/io/i2c_bitbang.h
@@ -23,6 +23,7 @@
#ifndef INCLUDED_I2C_BITBANG_H
#define INCLUDED_I2C_BITBANG_H
+#include <gr_core_api.h>
#include <i2c.h>
#include <i2c_bbio.h>
@@ -30,8 +31,8 @@
* \brief class for controlling i2c bus
* \ingroup base
*/
-class i2c_bitbang : public i2c {
- friend i2c_sptr make_i2c_bitbang (i2c_bbio_sptr io);
+class GR_CORE_API i2c_bitbang : public i2c {
+ friend GR_CORE_API i2c_sptr make_i2c_bitbang (i2c_bbio_sptr io);
i2c_bitbang (i2c_bbio_sptr io);
public:
@@ -57,7 +58,7 @@ private:
i2c_bbio_sptr d_io;
};
-i2c_sptr make_i2c_bitbang (i2c_bbio_sptr io);
+GR_CORE_API i2c_sptr make_i2c_bitbang (i2c_bbio_sptr io);
#endif /* INCLUDED_I2C_BITBANG_H */