| 19 | } |
| 20 | |
| 21 | void *dylib::find_proc(void *lib, const char *proc) |
| 22 | { |
| 23 | #if OS_WIN |
| 24 | return (void *)GetProcAddress((HMODULE)lib, proc); |
| 25 | #elif OS_MAC |
| 26 | return dlsym(lib, proc); |
| 27 | #endif |
| 28 | } |
| 29 | |
| 30 | static auto pattern_to_bytes(const char *pattern, bool *wildcard) |
| 31 | { |
nothing calls this directly
no outgoing calls
no test coverage detected