X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7ed19dfcc221d7b3eca182abb5c4a3946671172..244ffce80a9e2390e24b9788114de037e4ccc0ae:/include/smpi/forward.hpp diff --git a/include/smpi/forward.hpp b/include/smpi/forward.hpp index c1a210ccf8..35938c41f2 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-2023. 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. */ @@ -10,70 +10,54 @@ #ifdef __cplusplus #include -namespace simgrid { -namespace smpi { +namespace simgrid::smpi { +class Colls; class Comm; class Datatype; -class F2C; +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 Type_Contiguous; -class Type_Hindexed; -class Type_Hvector; -class Type_Indexed; -class Type_Struct; -class Type_Vector; class Win; -class Colls; - -} -} +} // namespace simgrid::smpi -typedef simgrid::smpi::Comm SMPI_Comm; -typedef simgrid::smpi::Datatype SMPI_Datatype; -typedef simgrid::smpi::Group SMPI_Group; -typedef simgrid::smpi::Info SMPI_Info; -typedef simgrid::smpi::Op SMPI_Op; -typedef simgrid::smpi::Request SMPI_Request; -typedef simgrid::smpi::Topo SMPI_Topology; -typedef simgrid::smpi::Topo_Cart SMPI_Cart_topology; -typedef simgrid::smpi::Topo_Dist_Graph SMPI_Dist_Graph_topology; -typedef simgrid::smpi::Topo_Graph SMPI_Graph_topology; -typedef simgrid::smpi::Win SMPI_Win; -typedef simgrid::smpi::Type_Contiguous SMPI_Type_Contiguous; -typedef simgrid::smpi::Type_Hindexed SMPI_Type_Hindexed; -typedef simgrid::smpi::Type_Hvector SMPI_Type_Hvector; -typedef simgrid::smpi::Type_Indexed SMPI_Type_Indexed; -typedef simgrid::smpi::Type_Struct SMPI_Type_Struct; -typedef simgrid::smpi::Type_Vector SMPI_Type_Vector; +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_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; -typedef struct SMPI_Graph_topology SMPI_Graph_topology; -typedef struct SMPI_Cart_topology SMPI_Cart_topology; -typedef struct SMPI_Dist_Graph_topology SMPI_Dist_Graph_topology; -typedef struct SMPI_Type_Contiguous SMPI_Type_Contiguous; -typedef struct SMPI_Type_Hindexed SMPI_Type_Hindexed; -typedef struct SMPI_Type_Hvector SMPI_Type_Hvector; -typedef struct SMPI_Type_Indexed SMPI_Type_Indexed; -typedef struct SMPI_Type_Struct SMPI_Type_Struct; -typedef struct SMPI_Type_Vector SMPI_Type_Vector; #endif