Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[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 class Topo;
19 class Cart;
20 class Graph;
21 class Dist_Graph;
22
23 }
24 }
25
26 typedef simgrid::smpi::Group SMPI_Group;
27 typedef simgrid::smpi::Comm SMPI_Comm;
28 typedef simgrid::smpi::Topo SMPI_Topology;
29 typedef simgrid::smpi::Graph SMPI_Graph_topology;
30 typedef simgrid::smpi::Cart SMPI_Cart_topology;
31 typedef simgrid::smpi::Dist_Graph SMPI_Dist_Graph_topology;
32
33 #else
34
35 typedef struct SMPI_Group SMPI_Group;
36 typedef struct SMPI_Comm SMPI_Comm;
37 typedef struct SMPI_Topology SMPI_Topology;
38 typedef struct SMPI_Graph_topology SMPI_Graph_topology;
39 typedef struct SMPI_Cart_topology SMPI_Cart_topology;
40 typedef struct SMPI_Dist_Graph_topology SMPI_Dist_Graph_topology;
41
42 #endif
43
44 #endif