Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e24b1f0682b66b8ffb9b86d5dac6a6f7486e1559
[simgrid.git] / include / smpi / forward.hpp
1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_SMPI_FORWARD_HPP
7 #define SIMGRID_SMPI_FORWARD_HPP
8
9
10 #ifdef __cplusplus
11
12 #include <boost/intrusive_ptr.hpp>
13 namespace simgrid {
14 namespace SMPI {
15
16 class Group;
17 class Comm;
18
19 }
20 }
21
22 typedef simgrid::SMPI::Group SMPI_Group;
23 typedef simgrid::SMPI::Comm SMPI_Comm;
24
25 #else
26
27 typedef struct SMPI_Group SMPI_Group;
28 typedef struct SMPI_Comm SMPI_Comm;
29
30 #endif
31
32 #endif