Store the function pointer in the %prototypes hash instead of the
function name to avoid looking it up on every call.
Fixed callback thunks to use stdcall calling convention.

4 files changed