Skip to content
  • Barry Smith's avatar
    Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **) · 49abdd8a
    Barry Smith authored
    Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that
    used PetscContainer
    
    - Now allows any context to be a PetscObject
    - Will provide a cleaner mapping to bindings in other languages
    - Simplifies the maintenance of PETSc source code; improves clarity
    
    Not backward compatible, compiler warnings will tell users what functions need to be updated
    49abdd8a
Loading