:orphan: # PetscObjectDestroyOptionsHandlers Destroys all the option handlers attached to an object ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscObjectDestroyOptionsHandlers(PetscObject obj) ``` Not Collective ## Input Parameter - ***obj -*** the PETSc object ## See Also `KSPSetFromOptions()`, `PCSetFromOptions()`, `SNESSetFromOptions()`, `PetscObjectAddOptionsHandler()`, `PetscObjectProcessOptionsHandlers()`, `PetscObject` ## Level developer ## Location src/sys/objects/inherit.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/inherit.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)