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