# PetscObjectCopyFortranFunctionPointers
Copy function pointers to another object 
## Synopsis
```
#include "petscsys.h"    
PetscErrorCode PetscObjectCopyFortranFunctionPointers(PetscObject src, PetscObject dest)
```
Logically Collective on src


## Input Parameters

- ***src -*** source object
- ***dest -*** destination object





## Note
Both objects must have the same class.

This is used to help manage user callback functions that were provided in Fortran

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/inherit.c.html#PetscObjectCopyFortranFunctionPointers">src/sys/objects/inherit.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
