This source file includes following definitions.
- MPI_T_cvar_handle_free
1
2
3
4
5
6
7
8
9
10
11
12
13 #include "ompi/mpi/tool/mpit-internal.h"
14
15 #if OPAL_HAVE_WEAK_SYMBOLS && OMPI_PROFILING_DEFINES
16 #pragma weak MPI_T_cvar_handle_free = PMPI_T_cvar_handle_free
17 #endif
18
19 #if OMPI_PROFILING_DEFINES
20 #include "ompi/mpi/tool/profile/defines.h"
21 #endif
22
23
24 int MPI_T_cvar_handle_free (MPI_T_cvar_handle *handle)
25 {
26 if (!mpit_is_initialized ()) {
27 return MPI_T_ERR_NOT_INITIALIZED;
28 }
29
30 free (*handle);
31 *handle = NULL;
32
33 return MPI_SUCCESS;
34 }