Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(244)

Unified Diff: src/core/model/integer.h

Issue 342120043: New patch for core module changes (Closed)
Patch Set: Updated core patch Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/model/integer.h
===================================================================
--- a/src/core/model/integer.h
+++ b/src/core/model/integer.h
@@ -25,6 +25,10 @@
#include <stdint.h>
#include <limits>
+#include "ns3/ns3-module.h"
+#define NS3_MODULE NS3_CORE_MODULE
+#include "ns3/ns3-export.h"
+
/**
* \file
* \ingroup attribute_Integer
@@ -41,8 +45,8 @@
* type such as int8_t, int16_t, int32_t, int64_t, or,
* int, etc.
*/
-ATTRIBUTE_VALUE_DEFINE_WITH_NAME (int64_t, Integer);
-ATTRIBUTE_ACCESSOR_DEFINE (Integer);
+ATTRIBUTE_VALUE_DEFINE_WITH_NAME_LIB (int64_t, Integer, NS3_EXPORT);
+ATTRIBUTE_ACCESSOR_DEFINE_LIB (Integer, NS3_EXPORT);
template <typename T>
Ptr<const AttributeChecker> MakeIntegerChecker (void);
@@ -85,7 +89,7 @@
namespace internal {
-Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min, int64_t max, std::string name);
+NS3_EXPORT Ptr<const AttributeChecker> MakeIntegerChecker (int64_t min, int64_t max, std::string name);
} // internal

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b