mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
				synced 2025-11-04 12:37:54 +00:00 
			
		
		
		
	Fix windows linker errors (#120)
This commit is contained in:
		
				
					committed by
					
						
						Matias Fontanini
					
				
			
			
				
	
			
			
			
						parent
						
							fbe3759fed
						
					
				
				
					commit
					2b66fd3a22
				
			@@ -31,6 +31,7 @@
 | 
				
			|||||||
#define CPPKAFKA_MESSAGE_INTERNAL_H
 | 
					#define CPPKAFKA_MESSAGE_INTERNAL_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <memory>
 | 
					#include <memory>
 | 
				
			||||||
 | 
					#include "macros.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace cppkafka {
 | 
					namespace cppkafka {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -45,7 +46,7 @@ using InternalPtr = std::shared_ptr<Internal>;
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * \brief Private message data structure
 | 
					 * \brief Private message data structure
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class MessageInternal {
 | 
					class CPPKAFKA_API MessageInternal {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    MessageInternal(void* user_data, std::shared_ptr<Internal> internal);
 | 
					    MessageInternal(void* user_data, std::shared_ptr<Internal> internal);
 | 
				
			||||||
    static std::unique_ptr<MessageInternal> load(Message& message);
 | 
					    static std::unique_ptr<MessageInternal> load(Message& message);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,6 +37,7 @@
 | 
				
			|||||||
#include "../consumer.h"
 | 
					#include "../consumer.h"
 | 
				
			||||||
#include "backoff_performer.h"
 | 
					#include "backoff_performer.h"
 | 
				
			||||||
#include "../detail/callback_invoker.h"
 | 
					#include "../detail/callback_invoker.h"
 | 
				
			||||||
 | 
					#include "../macros.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace cppkafka {
 | 
					namespace cppkafka {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -71,7 +72,7 @@ namespace cppkafka {
 | 
				
			|||||||
 * committer.commit(some_message);
 | 
					 * committer.commit(some_message);
 | 
				
			||||||
 * \endcode
 | 
					 * \endcode
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class BackoffCommitter : public BackoffPerformer {
 | 
					class CPPKAFKA_API BackoffCommitter : public BackoffPerformer {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * \brief The error callback.
 | 
					     * \brief The error callback.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -37,6 +37,7 @@
 | 
				
			|||||||
#include <boost/optional.hpp>
 | 
					#include <boost/optional.hpp>
 | 
				
			||||||
#include "../buffer.h"
 | 
					#include "../buffer.h"
 | 
				
			||||||
#include "../consumer.h"
 | 
					#include "../consumer.h"
 | 
				
			||||||
 | 
					#include "../macros.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace cppkafka {
 | 
					namespace cppkafka {
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
@@ -110,7 +111,7 @@ private:
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
template <typename Key, typename Value>
 | 
					template <typename Key, typename Value>
 | 
				
			||||||
class CompactedTopicProcessor {
 | 
					class CPPKAFKA_API CompactedTopicProcessor {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * The type of events generated by this processor
 | 
					     * The type of events generated by this processor
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,6 +35,7 @@
 | 
				
			|||||||
#include "../queue.h"
 | 
					#include "../queue.h"
 | 
				
			||||||
#include "../topic_partition_list.h"
 | 
					#include "../topic_partition_list.h"
 | 
				
			||||||
#include "poll_interface.h"
 | 
					#include "poll_interface.h"
 | 
				
			||||||
 | 
					#include "../macros.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace cppkafka {
 | 
					namespace cppkafka {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -52,7 +53,7 @@ struct QueueData {
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 * \brief Base implementation of  the PollInterface
 | 
					 * \brief Base implementation of  the PollInterface
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class PollStrategyBase : public PollInterface {
 | 
					class CPPKAFKA_API PollStrategyBase : public PollInterface {
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    using QueueMap = std::map<TopicPartition, QueueData>;
 | 
					    using QueueMap = std::map<TopicPartition, QueueData>;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user