OpenTTD Source 20241224-master-gee860a5c8e
|
A function loaded from a library. More...
#include <library_loader.h>
Public Member Functions | |
Function (void *p) | |
template<typename T , typename = std::enable_if_t<std::is_function_v<T>>> | |
operator T* () const | |
Private Attributes | |
void * | p |
A function loaded from a library.
Will automatically cast to the correct function pointer type on retrieval.
Definition at line 20 of file library_loader.h.
|
inlineexplicit |
Definition at line 22 of file library_loader.h.
|
inline |
Definition at line 25 of file library_loader.h.
|
private |
Definition at line 31 of file library_loader.h.