BrettMayson / arma-rs

GNU General Public License v2.0
42 stars 8 forks source link

Mismatched test callback prototype on windows #31

Closed Eathox closed 2 years ago

Eathox commented 2 years ago

The callback function used for testing in emulate.rs (https://github.com/BrettMayson/arma-rs/blob/main/arma-rs/tests/emulate.rs#L131) has the wrong extern on windows. On windows register_callback expects extern "stdcall".