Rewinding the file before passing it to C fixed the problem of not being able to read the file contents. Also explain the error about writing to a string. |
||
|---|---|---|
| .. | ||
| example.c | ||
| example.i | ||
| Makefile | ||
| README | ||
| runme.scm | ||
This example illustrates the translation from Scheme file ports to temporary FILE streams. Read the source and run ./port -s runme.scm