1
1

* doh! I can't read. Only DELETE should be void*, the others should have

a last argument of int*.  Go back to the previous way for the others.

This commit was SVN r1658.
Этот коммит содержится в:
Brian Barrett 2004-07-13 04:58:39 +00:00
родитель caaa2039d5
Коммит 25e7107517
2 изменённых файлов: 24 добавлений и 24 удалений

Просмотреть файл

@ -287,27 +287,27 @@ enum {
int MPI_TYPE_NULL_DELETE_FN( MPI_Datatype datatype, int type_keyval,
void* attribute_val_out, void* flag );
int MPI_TYPE_NULL_COPY_FN( MPI_Datatype datatype, int type_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_TYPE_DUP_FN( MPI_Datatype datatype, int type_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_COMM_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
void* attribute_val_out, void* flag );
int MPI_COMM_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_COMM_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
void* attribute_val_out, void* flag );
int MPI_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_WIN_NULL_DELETE_FN( MPI_Win window, int win_keyval,
void* attribute_val_out, void* flag );
int MPI_WIN_NULL_COPY_FN( MPI_Win window, int win_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
int MPI_WIN_DUP_FN( MPI_Win window, int win_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out, void* flag );
void* attribute_val_in, void* attribute_val_out, int* flag );
/*
* External variables

Просмотреть файл

@ -20,17 +20,17 @@ int MPI_TYPE_NULL_DELETE_FN( MPI_Datatype datatype, int type_keyval,
int MPI_TYPE_NULL_COPY_FN( MPI_Datatype datatype, int type_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag = 0;
*flag = 0;
return MPI_SUCCESS;
}
int MPI_TYPE_DUP_FN( MPI_Datatype datatype, int type_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag = 1;
*flag = 1;
*(void**)attribute_val_out = attribute_val_in;
return MPI_SUCCESS;
}
@ -44,17 +44,17 @@ int MPI_WIN_NULL_DELETE_FN( MPI_Win window, int win_keyval,
int MPI_WIN_NULL_COPY_FN( MPI_Win window, int win_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag= 0;
*flag= 0;
return MPI_SUCCESS;
}
int MPI_WIN_DUP_FN( MPI_Win window, int win_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag = 1;
*flag = 1;
*(void**)attribute_val_out = attribute_val_in;
return MPI_SUCCESS;
}
@ -68,17 +68,17 @@ int MPI_COMM_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
int MPI_COMM_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag= 0;
*flag= 0;
return MPI_SUCCESS;
}
int MPI_COMM_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag = 1;
*flag = 1;
*(void**)attribute_val_out = attribute_val_in;
return MPI_SUCCESS;
}
@ -92,17 +92,17 @@ int MPI_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
int MPI_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag= 0;
*flag= 0;
return MPI_SUCCESS;
}
int MPI_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state,
void* attribute_val_in, void* attribute_val_out,
void* flag )
int* flag )
{
*(int*) flag = 1;
*flag = 1;
*(void**)attribute_val_out = attribute_val_in;
return MPI_SUCCESS;
}