I needed to pass the address of the trampoline function to a C function so I made the trampoline() function public. My previous workaround was using RawDetour but that was annoying and seeing that RawDetour already exposes the trampoline function, I think it would be appropriate for StaticDetour and GenericDetour to have it too
I needed to pass the address of the trampoline function to a C function so I made the
trampoline()
function public. My previous workaround was usingRawDetour
but that was annoying and seeing thatRawDetour
already exposes the trampoline function, I think it would be appropriate forStaticDetour
andGenericDetour
to have it too