You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MPI_Type_delete_attr_function is a function prototype, not a function pointer.
The type of type_delete_attr_fn is a function pointer(MPI_Type_delete_attr_function *). MPI_Type_delete_attr_function is a function prototype used for declaring this pointer.
* Update generated_api.jl
* Change function pointers => prototypes
ref #694
* add function pointer test
* comment comm test
Co-authored-by: t-bltg <tf.bltg@gmail.com>
MPI_Type_delete_attr_function
is a function prototype, not a function pointer.The type of
type_delete_attr_fn
is a function pointer(MPI_Type_delete_attr_function *
).MPI_Type_delete_attr_function
is a function prototype used for declaring this pointer.This is the declaration of
MPI_Type_delete_attr_function
:which is actually a function prototype and is generally used as a shortcut for declaring pointers.
A function pointer should be declared like this:
So, the fix in #688 is not right. The root cause is that these "pointers" should not be defined as pointers(
Ptr{Cvoid}
).The text was updated successfully, but these errors were encountered: