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

@@ -30,6 +30,8 @@
#ifndef CPPKAFKA_PARTITION_H
#define CPPKAFKA_PARTITION_H
#include "macros.h"
namespace cppkafka {
/**
@@ -38,7 +40,7 @@ namespace cppkafka {
* This class is basically a wrapper over an int that when default constructed will default
* to using RD_KAFKA_PARTITION_UA so you don't need to use the macro name.
*/
class Partition {
class CPPKAFKA_API Partition {
public:
/**
* \brief Constructs an unassigned partition