Lines Matching full:library
52 void UnloadNativeLibrary(NativeLibrary library) {
53 if (library->type == BUNDLE) {
54 CFBundleCloseBundleResourceMap(library->bundle,
55 library->bundle_resource_ref);
56 CFRelease(library->bundle);
58 dlclose(library->dylib);
60 delete library;
64 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
66 if (library->type == BUNDLE) {
70 return CFBundleGetFunctionPointerForName(library->bundle, symbol_name);
72 return dlsym(library->dylib, name);