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.

Reply via email to