-/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */
/* 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 <vector>
#include "smpi/smpi.h"
-
#include "src/mc/mc_state.hpp"
namespace simgrid {
DATA_DIFF,
};
-static inline e_mc_call_type_t MC_get_call_type(smx_simcall_t req)
+static inline e_mc_call_type_t MC_get_call_type(const s_smx_simcall* req)
{
- switch (req->call) {
+ switch (req->call_) {
case SIMCALL_COMM_ISEND:
return MC_CALL_TYPE_SEND;
case SIMCALL_COMM_IRECV: