| 73 | } |
| 74 | |
| 75 | static int |
| 76 | dlclose(void *handle) |
| 77 | { |
| 78 | int ret = 0; |
| 79 | |
| 80 | if (!FreeLibrary(SCAST(HINSTANCE, handle))) { |
| 81 | dl_set_last_error("FreeLibrary: %s", GetLastError()); |
| 82 | ret = -1; |
| 83 | } |
| 84 | |
| 85 | return ret; |
| 86 | } |
| 87 | |
| 88 | static void * |
| 89 | dlsym(void *handle, const char *name) |
no test coverage detected