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
rename surf::VirtualMachine to surf::VirtualMachineImpl
[simgrid.git]
/
src
/
surf
/
surf_c_bindings.cpp
diff --git
a/src/surf/surf_c_bindings.cpp
b/src/surf/surf_c_bindings.cpp
index
c599164
..
6125779
100644
(file)
--- a/
src/surf/surf_c_bindings.cpp
+++ b/
src/surf/surf_c_bindings.cpp
@@
-4,12
+4,12
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/HostImpl.hpp"
-#include "surf_interface.hpp"
+#include "VirtualMachineImpl.hpp"
#include "network_interface.hpp"
#include "network_interface.hpp"
-#include "src/instr/instr_private.h"
#include "plugins/energy.hpp"
#include "plugins/energy.hpp"
-#include "virtual_machine.hpp"
+#include "src/instr/instr_private.h"
+#include "src/surf/HostImpl.hpp"
+#include "surf_interface.hpp"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_kernel);
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_kernel);
@@
-21,8
+21,9
@@
static simgrid::surf::HostImpl *get_casted_host(sg_host_t host){ //FIXME: killme
return host->pimpl_;
}
return host->pimpl_;
}
-static simgrid::surf::VirtualMachine *get_casted_vm(sg_host_t host){
- return static_cast<simgrid::surf::VirtualMachine*>(host->pimpl_);
+static simgrid::surf::VirtualMachineImpl* get_casted_vm(sg_host_t host)
+{
+ return static_cast<simgrid::surf::VirtualMachineImpl*>(host->pimpl_);
}
extern double NOW;
}
extern double NOW;