#include "petsc.h"
#include "petscfix.h"
/* shellpc.c */
/* Fortran interface file */

/*
* This file was generated automatically by bfort from the C source
* file.  
 */

#ifdef PETSC_USE_POINTER_CONVERSION
#if defined(__cplusplus)
extern "C" { 
#endif 
extern void *PetscToPointer(void*);
extern int PetscFromPointer(void *);
extern void PetscRmPointer(void*);
#if defined(__cplusplus)
} 
#endif 

#else

#define PetscToPointer(a) (*(long *)(a))
#define PetscFromPointer(a) (long)(a)
#define PetscRmPointer(a)
#endif

#include "petscpc.h"
#ifdef MPI_BUILD_PROFILING
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define pcshellgetcontext_ PPCSHELLGETCONTEXT
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define pcshellgetcontext_ ppcshellgetcontext
#else
#define pcshellgetcontext_ ppcshellgetcontext_
#endif
#else
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define pcshellgetcontext_ PCSHELLGETCONTEXT
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define pcshellgetcontext_ pcshellgetcontext
#endif
#endif



/* Definitions of Fortran Wrapper routines */
#if defined(__cplusplus)
extern "C" {
#endif
void PETSC_STDCALL   pcshellgetcontext_(PC pc,void**ctx, int *__ierr ){
*__ierr = PCShellGetContext(
	(PC)PetscToPointer((pc) ),ctx);
}
#if defined(__cplusplus)
}
#endif
