X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ca2e418072d73461d9c4f1e39e77c9f7380eb3fd..7a279f0b5c2192ed018938304b3e199c61d0ad70:/include/smpi/forward.hpp diff --git a/include/smpi/forward.hpp b/include/smpi/forward.hpp index e24b1f0682..33afcd95e7 100644 --- a/include/smpi/forward.hpp +++ b/include/smpi/forward.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2021. 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. */ @@ -11,21 +11,55 @@ #include namespace simgrid { -namespace SMPI { +namespace smpi { -class Group; +class Colls; class Comm; +class Datatype; +class Errhandler; +class File; +class Group; +class Info; +class Keyval; +class Op; +class ActorExt; +class Request; +class Status; +class Topo; +class Topo_Cart; +class Topo_Graph; +class Topo_Dist_Graph; +class Win; } } -typedef simgrid::SMPI::Group SMPI_Group; -typedef simgrid::SMPI::Comm SMPI_Comm; +using SMPI_Comm = simgrid::smpi::Comm; +using SMPI_Datatype = simgrid::smpi::Datatype; +using SMPI_Errhandler = simgrid::smpi::Errhandler; +using SMPI_File = simgrid::smpi::File; +using SMPI_Group = simgrid::smpi::Group; +using SMPI_Info = simgrid::smpi::Info; +using SMPI_Op = simgrid::smpi::Op; +using SMPI_Request = simgrid::smpi::Request; +using SMPI_Topology = simgrid::smpi::Topo; +using SMPI_Cart_topology = simgrid::smpi::Topo_Cart; +using SMPI_Dist_Graph_topology = simgrid::smpi::Topo_Dist_Graph; +using SMPI_Graph_topology = simgrid::smpi::Topo_Graph; +using SMPI_Win = simgrid::smpi::Win; #else -typedef struct SMPI_Group SMPI_Group; typedef struct SMPI_Comm SMPI_Comm; +typedef struct SMPI_Datatype SMPI_Datatype; +typedef struct SMPI_Errhandler SMPI_Errhandler; +typedef struct SMPI_File SMPI_File; +typedef struct SMPI_Group SMPI_Group; +typedef struct SMPI_Info SMPI_Info; +typedef struct SMPI_Op SMPI_Op; +typedef struct SMPI_Request SMPI_Request; +typedef struct SMPI_Topology SMPI_Topology; +typedef struct SMPI_Win SMPI_Win; #endif