A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[surf] new (abstract) class: PropertyHolder, with only one purpose
[simgrid.git]
/
src
/
mc
/
mc_base.h
diff --git
a/src/mc/mc_base.h
b/src/mc/mc_base.h
index 45b3cb56587edc35eae16f4d0155312f30c0a0e8..5b50e147d2e0b31244b5f1a7465d83ed01a45f06 100644
(file)
--- a/
src/mc/mc_base.h
+++ b/
src/mc/mc_base.h
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008-201
4
. The SimGrid Team.
+/* Copyright (c) 2008-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-10,12
+10,8
@@
#include <xbt/misc.h>
#include <simgrid/simix.h>
#include "simgrid_config.h"
#include <xbt/misc.h>
#include <simgrid/simix.h>
#include "simgrid_config.h"
-#include "internal_config.h"
-#include "../simix/smx_private.h"
-
-// Marker for symbols which should be defined as XBT_PRIVATE but are used in
-// unit tests:
-#define MC_SHOULD_BE_INTERNAL
+#include "src/internal_config.h"
+#include "src/simix/smx_private.h"
SG_BEGIN_DECL()
SG_BEGIN_DECL()
@@
-23,13
+19,13
@@
SG_BEGIN_DECL()
*
* \return `TRUE` or `FALSE`
*/
*
* \return `TRUE` or `FALSE`
*/
-int MC_request_is_enabled(smx_simcall_t req);
+
XBT_PRIVATE
int MC_request_is_enabled(smx_simcall_t req);
/** Check if the given simcall is visible
*
* \return `TRUE` or `FALSE`
*/
/** Check if the given simcall is visible
*
* \return `TRUE` or `FALSE`
*/
-int MC_request_is_visible(smx_simcall_t req);
+
XBT_PRIVATE
int MC_request_is_visible(smx_simcall_t req);
/** Execute everything which is invisible
*
/** Execute everything which is invisible
*
@@
-37,9
+33,9
@@
int MC_request_is_visible(smx_simcall_t req);
* iteratively until there doesn't remain any. At this point, the function
* returns to the caller which can handle the visible (and ready) simcalls.
*/
* iteratively until there doesn't remain any. At this point, the function
* returns to the caller which can handle the visible (and ready) simcalls.
*/
-void MC_wait_for_requests(void);
+
XBT_PRIVATE
void MC_wait_for_requests(void);
-XBT_
INTERNAL
extern double *mc_time;
+XBT_
PRIVATE
extern double *mc_time;
SG_END_DECL()
SG_END_DECL()