> ptr*: cuint #uintptr_t Are you sure that that is correct?
For a 64 bit OS I would be not sure. cuint size is generally 4 byte, maybe uintptr_t is 8 byte? See [https://stackoverflow.com/questions/1845482/what-is-uintptr-t-data-type](https://stackoverflow.com/questions/1845482/what-is-uintptr-t-data-type) For low level glib of GTK3 3.20 bindings I used: type Gpointer* = pointer But that was tested by me only for 64 bit Linux yet. Have you built your wrapper with c2nim?