The previous sections have shown how Guile can be extended at runtime by loading compiled C extensions. This approach is all well and good, but wouldn’t it be nice if we didn’t have to write any C at all? This section takes up the problem of accessing C values from Scheme, and the next discusses C functions.
|• Foreign Types:||Expressing C types in Scheme.|
|• Foreign Variables:||Pointers to C symbols.|
|• Void Pointers and Byte Access:||Pointers into the ether.|
|• Foreign Structs:||Packing and unpacking structs.|