:orphan: # PetscSegBufferExtractInPlace extract in-place contiguous representation of data and reset segmented buffer for reuse ## Synopsis ``` PetscErrorCode PetscSegBufferExtractInPlace(PetscSegBuffer seg, void *contig) ``` Not Collective ## Input Parameter - ***seg -*** `PetscSegBuffer` object ## Output Parameter - ***contig -*** address of pointer to contiguous memory, may be `NULL` ## See Also `PetscSegBuffer`, `PetscSegBufferExtractAlloc()`, `PetscSegBufferExtractTo()` ## Level developer ## Location src/sys/utils/segbuffer.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/utils/segbuffer.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)