PetscVoidFn#
A prototype of a void fn(void) function
Synopsis#
PETSC_EXTERN_TYPEDEF typedef void PetscVoidFn(void);
Notes#
PetscVoidFn * plays the role of void * for function pointers in the PETSc API that do not return an error code.
It is used where a function pointer is needed but it is not possible to use the full prototype of the function.
PetscErrorCodeFn is similar to PetscVoidFn but should be used when the function returns a PetscErrorCode
See Also#
Level#
advanced
Location#
Examples#
src/snes/tutorials/ex12.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex20.c
src/snes/tutorials/ex23.c
src/snes/tutorials/ex24.c
src/snes/tutorials/ex26.c
src/snes/tutorials/ex27.c
src/snes/tutorials/ex34.c
src/snes/tutorials/ex36.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages