dlfcn.pxd 355 B

1234567891011121314
  1. # POSIX dynamic linking/loading interface.
  2. # http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html
  3. cdef extern from "<dlfcn.h>" nogil:
  4. void *dlopen(const char *, int)
  5. char *dlerror()
  6. void *dlsym(void *, const char *)
  7. int dlclose(void *)
  8. enum:
  9. RTLD_LAZY
  10. RTLD_NOW
  11. RTLD_GLOBAL
  12. RTLD_LOCAL