# PetscObjectContainerGetPointer

Gets the pointer value contained in the container.

### Synopsis

    #include "petsc.h"
    PetscErrorCode PETSC_DLLEXPORT PetscObjectContainerGetPointer(PetscObjectContainer obj,void **ptr)

Collective on PetscObjectContainer

### Input Parameter

obj -the object created with PetscObjectContainerCreate()

### Output Parameter

ptr -the pointer value

### See Also

PetscObjectContainerCreate(), PetscObjectContainerDestroy(),
PetscObjectContainerSetPointer()

Level:advanced
Location:src/sys/src/objects/inherit.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages