# PetscObjectComposedDataSetIntstar
attach an integer array data to a `PetscObject` that may be accessed with `PetscObjectComposedDataGetIntstar()` 
## Synopsis
```
#include "petsc/private/petscimpl.h"
PetscErrorCode PetscObjectComposedDataSetIntstar(PetscObject obj,int id,int *data)
```
Not collective


## Input parameters

- ***obj -*** the object to which data is to be attached
- ***id -*** the identifier for the data
- ***data -*** the data to  be attached



## Notes
The data identifier can be determined through a call to `PetscObjectComposedDataRegister()`

The length of the array accessed must be known, it is not available through this API.




## See Also
 `PetscObjectComposedDataSetInt()`, `PetscObjectComposedDataGetReal()`, `PetscObjectComposedDataSetReal()`,
`PetscObjectComposedDataGetIntstar()`, `PetscObjectComposedDataGetInt()`, `PetscObject`,
`PetscObjectCompose()`, `PetscObjectQuery()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petsc/private/petscimpl.h.html#PetscObjectComposedDataSetIntstar">include/petsc/private/petscimpl.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petsc/private/petscimpl.h)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
