1: #if !defined(_DLIMPL_H) 2: #define _DLIMPL_H 4: #include petscsys.h 6: typedef void* PetscDLHandle; 8: #define PETSC_DL_DECIDE 0 9: #define PETSC_DL_NOW 1 10: #define PETSC_DL_LOCAL 2 12: EXTERN PetscErrorCode PetscDLOpen(const char[],int,PetscDLHandle *); 13: EXTERN PetscErrorCode PetscDLClose(PetscDLHandle *); 14: EXTERN PetscErrorCode PetscDLSym(PetscDLHandle,const char[],void **); 16: #endif