dynload.h 290 B

123456789101112131415161718
  1. #ifndef AL_DYNLOAD_H
  2. #define AL_DYNLOAD_H
  3. #if defined(_WIN32) || defined(HAVE_DLFCN_H)
  4. #define HAVE_DYNLOAD 1
  5. void *LoadLib(const char *name);
  6. void CloseLib(void *handle);
  7. void *GetSymbol(void *handle, const char *name);
  8. #else
  9. #define HAVE_DYNLOAD 0
  10. #endif
  11. #endif /* AL_DYNLOAD_H */