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
[mc] OOPify/C++ify Type
[simgrid.git]
/
src
/
mc
/
mc_member.cpp
diff --git
a/src/mc/mc_member.cpp
b/src/mc/mc_member.cpp
index
a75a9af
..
1fde63e
100644
(file)
--- a/
src/mc/mc_member.cpp
+++ b/
src/mc/mc_member.cpp
@@
-9,8
+9,6
@@
#include "mc_object_info.h"
#include "mc_private.h"
#include "mc_object_info.h"
#include "mc_private.h"
-extern "C" {
-
/** Resolve snapshot in the process address space
*
* @param object Process address of the struct/class
/** Resolve snapshot in the process address space
*
* @param object Process address of the struct/class
@@
-19,7
+17,7
@@
extern "C" {
* @param snapshot Snapshot (or NULL)
* @return Process address of the given member of the 'object' struct/class
*/
* @param snapshot Snapshot (or NULL)
* @return Process address of the given member of the 'object' struct/class
*/
-void *mc_member_resolve(const void *base,
dw_type_t type, dw
_type_t member,
+void *mc_member_resolve(const void *base,
mc_type_t type, mc
_type_t member,
mc_address_space_t address_space, int process_index)
{
if (!member->location.size) {
mc_address_space_t address_space, int process_index)
{
if (!member->location.size) {
@@
-43,5
+41,3
@@
void *mc_member_resolve(const void *base, dw_type_t type, dw_type_t member,
else
return (void *) state.stack[state.stack_size - 1];
}
else
return (void *) state.stack[state.stack_size - 1];
}
-
-}