Have you ever struggled to create bindings for C types like FILE or CURL? If yes, then you know how hard it can be, since the type might not be same on all platforms. Easy solution for these is to define a null record which represents the type and use …