MCPcopy Create free account
hub / github.com/aui-framework/aui / getProcAddressRawPtr

Method getProcAddressRawPtr

aui.core/src/AUI/Platform/AProgramModule.cpp:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106AProgramModule::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

Callers 1

Calls 1

toStdStringMethod · 0.80

Tested by

no test coverage detected