X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/70ed180f3ce3495678d048e9e396ef5eb65a6a99..fccf53a380a9a6de6c8bd9eafb182a91d79e1d3c:/src/smpi/smpi_mpi_dt_private.h diff --git a/src/smpi/smpi_mpi_dt_private.h b/src/smpi/smpi_mpi_dt_private.h index cb548a9993..374f8f8bc5 100644 --- a/src/smpi/smpi_mpi_dt_private.h +++ b/src/smpi/smpi_mpi_dt_private.h @@ -1,9 +1,14 @@ -/** - * $Id: $tag - * - * smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules. - * - **/ +/* smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules. */ + +/* Copyright (c) 2009, 2010. 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. */ + +#ifndef SMPI_DT_PRIVATE_H +#define SMPI_DT_PRIVATE_H + #include "private.h" #define DT_FLAG_DESTROYED 0x0001 /**< user destroyed but some other layers still have a reference */ @@ -19,8 +24,12 @@ #define DT_FLAG_UNAVAILABLE 0x0400 /**< datatypes unavailable on the build (OS or compiler dependant) */ #define DT_FLAG_VECTOR 0x0800 /**< valid only for loops. The loop contain only one element **< without extent. It correspond to the vector type. */ -/* +/* * We should make the difference here between the predefined contiguous and non contiguous * datatypes. The DT_FLAG_BASIC is held by all predefined contiguous datatypes. */ #define DT_FLAG_BASIC (DT_FLAG_PREDEFINED | DT_FLAG_CONTIGUOUS | DT_FLAG_NO_GAPS | DT_FLAG_DATA | DT_FLAG_COMMITED) + +extern MPI_Datatype MPI_PTR; + +#endif