I realize that for blackhole, c-define-type's are not exported across modules. How do I pull them in? The following code does not compile under bsc (but does under gsc)
~/magic$ cat test3.scm (c-define-type yay int) ~/magic$ bsc test3.scm *** ERROR IN "/home/x/magic/test3.scm"@1.20 -- Undefined C type identifier ~/magic$ gsc test3.scm test3.c:35: warning: deprecated conversion from string constant to ‘char*’ test3.c:89: warning: deprecated conversion from string constant to ‘char*’
I grepped bh/modules for examples of how to use c-define-type, but the only one there used (void).
Thanks!