104afe39e4
- mpiext.h: For OMPI_DECLSPEC, include the ompi_config.h This commit was SVN r23623.
25 строки
510 B
C
25 строки
510 B
C
/*
|
|
* $HEADER$
|
|
*/
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "ompi_config.h"
|
|
|
|
OMPI_DECLSPEC int ompi_mpiext_init(void);
|
|
OMPI_DECLSPEC int ompi_mpiext_fini(void);
|
|
|
|
typedef int (*ompi_mpiext_init_fn_t)(void);
|
|
typedef int (*ompi_mpiext_fini_fn_t)(void);
|
|
|
|
struct ompi_mpiext_component_t {
|
|
ompi_mpiext_init_fn_t init;
|
|
ompi_mpiext_fini_fn_t fini;
|
|
};
|
|
typedef struct ompi_mpiext_component_t ompi_mpiext_component_t;
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
}
|
|
#endif
|