| 1283 | const cc_string DynamicLib_Ext = String_FromConst(".dylib"); |
| 1284 | |
| 1285 | void* DynamicLib_Load2(const cc_string* path) { |
| 1286 | cc_filepath str; |
| 1287 | Platform_EncodePath(&str, path); |
| 1288 | return NSAddImage(str.buffer, NSADDIMAGE_OPTION_WITH_SEARCHING | |
| 1289 | NSADDIMAGE_OPTION_RETURN_ON_ERROR); |
| 1290 | } |
| 1291 | |
| 1292 | void* DynamicLib_Get2(void* lib, const char* name) { |
| 1293 | cc_string tmp; char tmpBuffer[128]; |
nothing calls this directly
no test coverage detected