Thanks for the suggestion. I tried it, but it did not fix the problem. I did use c2nim for the bindings, but it didn't seem to know what to use for uintptr_t. I thought I'd come across a wrapper somewhere which had used cint, but I might be mis-remembering. As you can see, I have renamed the struct and union, as well as the components thereof, in my wrapper but I've come across other wrappers doing this and it doesn't appear to be a problem.
- Difficulty writing wrapper using FFI cmacmackin
- Re: Difficulty writing wrapper using FFI cmacmackin
- Re: Difficulty writing wrapper using FFI Stefan_Salewski
- Re: Difficulty writing wrapper using FFI cmacmackin
- Re: Difficulty writing wrapper using FFI Stefan_Salewski
- Re: Difficulty writing wrapper using... cmacmackin
- Re: Difficulty writing wrapper u... Stefan_Salewski
- Re: Difficulty writing wrapp... cmacmackin
- Re: Difficulty writing wrapp... Stefan_Salewski
- Re: Difficulty writing wrapp... cmacmackin
- Re: Difficulty writing wrapp... Araq
- Re: Difficulty writing wrapp... yglukhov
- Re: Difficulty writing wrapp... cmacmackin
