#include "petsc.h"
#include "petscfix.h"
/* dclear.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 "petscdraw.h"
#ifdef MPI_BUILD_PROFILING
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdrawclear_ PPETSCDRAWCLEAR
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdrawclear_ ppetscdrawclear
#else
#define petscdrawclear_ ppetscdrawclear_
#endif
#else
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdrawclear_ PETSCDRAWCLEAR
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdrawclear_ petscdrawclear
#endif
#endif

#ifdef MPI_BUILD_PROFILING
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdrawbop_ PPETSCDRAWBOP
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdrawbop_ ppetscdrawbop
#else
#define petscdrawbop_ ppetscdrawbop_
#endif
#else
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdrawbop_ PETSCDRAWBOP
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdrawbop_ petscdrawbop
#endif
#endif

#ifdef MPI_BUILD_PROFILING
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdraweop_ PPETSCDRAWEOP
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdraweop_ ppetscdraweop
#else
#define petscdraweop_ ppetscdraweop_
#endif
#else
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define petscdraweop_ PETSCDRAWEOP
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define petscdraweop_ petscdraweop
#endif
#endif



/* Definitions of Fortran Wrapper routines */
#if defined(__cplusplus)
extern "C" {
#endif
void PETSC_STDCALL   petscdrawclear_(PetscDraw draw, int *__ierr ){
*__ierr = PetscDrawClear(
	(PetscDraw)PetscToPointer((draw) ));
}
void PETSC_STDCALL   petscdrawbop_(PetscDraw draw, int *__ierr ){
*__ierr = PetscDrawBOP(
	(PetscDraw)PetscToPointer((draw) ));
}
void PETSC_STDCALL   petscdraweop_(PetscDraw draw, int *__ierr ){
*__ierr = PetscDrawEOP(
	(PetscDraw)PetscToPointer((draw) ));
}
#if defined(__cplusplus)
}
#endif
