WolframResearch / wstp-rs

Rust bindings to the Wolfram Symbolic Transport Protocol (WSTP)
Apache License 2.0
21 stars 3 forks source link

bugfix: Fix mismatched types error on Windows #55

Closed ConnorGray closed 1 year ago

ConnorGray commented 1 year ago

On Windows, anonymous enums are translated to i32. On Linux and macOS, they're translated to u32.

This fixes: https://github.com/WolframResearch/wstp-rs/issues/51

See also: https://github.com/rust-lang/rust-bindgen/issues/1361