MCPcopy Create free account
hub / github.com/crownengine/crown / library_open

Function library_open

src/core/os.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void *library_open(const char *path)
52 {
53#if CROWN_PLATFORM_WINDOWS
54 return (void *)LoadLibraryA(path);
55#else
56 return ::dlopen(path, RTLD_LAZY);
57#endif
58 }
59
60 void library_close(void *library)
61 {

Callers 3

initMethod · 0.85
initMethod · 0.85
WindowsDeviceMethod · 0.85

Calls 1

dlopenFunction · 0.85

Tested by

no test coverage detected