MCPcopy Create free account
hub / github.com/SFML/SFML / getFunction

Method getFunction

src/SFML/Window/Unix/VulkanImplX11.cpp:167–173  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

165
166////////////////////////////////////////////////////////////
167VulkanFunctionPointer VulkanImpl::getFunction(const char* name)
168{
169 if (!isAvailable(false))
170 return nullptr;
171
172 return reinterpret_cast<VulkanFunctionPointer>(dlsym(wrapper.library, name));
173}
174
175
176////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

isAvailableFunction · 0.50

Tested by

no test coverage detected