C6 Crunch embedded modules note
Anton Idukov via Chicken-users <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <CAMJCnqW-21-dJHMSwTw0WmOUsaJXpz-EhEmMDxPKPL0DO6Hrag@mail.gmail.com> |
Hi, C6 Crunch hackers. A note. In latest versions of Crunch the usage of (import (chicken memory)) for embedding crunch code in the CHICKEN module... _is not_ generating #define CRUNCH_IMPORT_CHICKEN_MEMORY in module's .c file, so inline procs. like pointer-u8-set! (crunch_pointer_u8_set) turns into external and unavailable in main program. So for such cases CSC addition option -C "-DCRUNCH_IMPORT_CHICKEN_MEMORY" works. Thanks!