X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/deaddec5dc5d4dda8dc1b9692869970e253facfa..0fbb2ce49d807800629638bb182ef8cc159a77bf:/src/mc/mc_member.cpp diff --git a/src/mc/mc_member.cpp b/src/mc/mc_member.cpp index b96a30fbb6..29fe1f5193 100644 --- a/src/mc/mc_member.cpp +++ b/src/mc/mc_member.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -8,6 +8,7 @@ #include "mc_object_info.h" #include "mc_private.h" +#include "mc/Type.hpp" /** Resolve snapshot in the process address space * @@ -17,8 +18,8 @@ * @param snapshot Snapshot (or NULL) * @return Process address of the given member of the 'object' struct/class */ -void *mc_member_resolve(const void *base, mc_type_t type, mc_type_t member, - mc_address_space_t address_space, int process_index) +void *mc_member_resolve(const void *base, simgrid::mc::Type* type, simgrid::mc::Type* member, + simgrid::mc::AddressSpace* address_space, int process_index) { // TODO, get rid of this? if (!member->has_offset_location())