Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.
Next: Dynamic FFI, Previous: Modules and Extensions, Up: Foreign Function Interface [Contents][Index]
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. |