armadillo
armadillo copied to clipboard
Windows export and integer size issues
Hey 👋🏼
I've been using your library on windows (and other platforms!) linked statically to a jai program.
To get it working initially I had to add __declspec(dllexport) on the api functions so linker can find them.
I have now found that there are issues with sizes of integer types in the windows build 🙄. The one I know about is unsigned long PC parameter for ArmadilloDisassemble is being treated as u32, not u64. There may be other similar cases of integers being truncated.
I'm going to be fixing this for myself, as you say you're not taking contributions, here is a suggestion instead!