| 104 | } |
| 105 | |
| 106 | AProgramModule::ProcRawPtr AProgramModule::getProcAddressRawPtr(const AString& name) const noexcept { |
| 107 | #if AUI_PLATFORM_WIN |
| 108 | auto r = reinterpret_cast<ProcRawPtr>(GetProcAddress(mHandle, name.toStdString().c_str())); |
| 109 | #else |
| 110 | auto r = reinterpret_cast<ProcRawPtr>(dlsym(mHandle, name.toStdString().c_str())); |
| 111 | #endif |
| 112 | return r; |
| 113 | } |
| 114 | |
| 115 | _<AProgramModule> AProgramModule::self() { |
| 116 | #if AUI_PLATFORM_WIN |
no test coverage detected