The first impedance mismatch that one sees between C and Scheme is that in C, the storage locations (variables) are typed, but in Scheme types are associated with values, not variables. See Values and Variables.
So when describing a C function or a C structure so that it can be accessed from Scheme, the data types of the parameters or fields must be passed explicitly.
These “C type values” may be constructed using the constants and
procedures from the (system foreign) module, which may be loaded
like this:
(use-modules (system foreign))
(system foreign) exports a number of values expressing the basic
C types:
These values represent the C numeric types of the specified sizes and signednesses.
In addition there are some convenience bindings for indicating types of platform-dependent size: