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

Unified Diff: src/core/model/simulator.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/simulator.h
===================================================================
--- a/src/core/model/simulator.h
+++ b/src/core/model/simulator.h
@@ -31,6 +31,10 @@
#include <stdint.h>
#include <string>
+#include "ns3/ns3-module.h"
+#define NS3_MODULE NS3_CORE_MODULE
+#include "ns3/ns3-export.h"
+
/**
* @file
* @ingroup simulator
@@ -65,7 +69,7 @@
* is shown in sample-simulator.cc:
* @include src/core/examples/sample-simulator.cc
*/
-class Simulator
+class NS3_EXPORT Simulator
{
public:
/**
@@ -1362,7 +1366,7 @@
* @endcode
* @return The current simulation time.
*/
-Time Now (void);
+NS3_EXPORT Time Now (void);
} // namespace ns3

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