|
OpenTTD Source 20251116-master-g21329071df
|
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.