crlib: reworked detours.
This commit is contained in:
parent
e003474cae
commit
419626df0e
13 changed files with 274 additions and 205 deletions
|
|
@ -118,7 +118,7 @@ public:
|
|||
}
|
||||
|
||||
public:
|
||||
template <typename R> static inline R CR_STDCALL getSymbol (Handle module, const char *function) {
|
||||
template <typename R> static inline R CR_STDCALL getSymbol (Handle module, const char *function) {
|
||||
return reinterpret_cast <R> (
|
||||
#if defined (CR_WINDOWS)
|
||||
GetProcAddress (static_cast <HMODULE> (module), function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue