Export symbols on Windows dll builds

This commit is contained in:
Matias Fontanini
2016-06-19 09:46:28 -07:00
parent 678ac88c9b
commit 831111812e
14 changed files with 83 additions and 23 deletions

View File

@@ -34,6 +34,7 @@
#include <memory>
#include <boost/optional.hpp>
#include <librdkafka/rdkafka.h>
#include "macros.h"
namespace cppkafka {
@@ -42,7 +43,7 @@ namespace cppkafka {
*
* This is a simple wrapper over a rd_kafka_topic_t*
*/
class Topic {
class CPPKAFKA_API Topic {
public:
/**
* \brief Creates a Topic object that doesn't take ownership of the handle