2010/12/1 David Dreisigmeyer <[email protected]>:
> [...]
> ** punCpp.h:
> [...]
> void punCpp (void);
> [...]
> ** pun_module.scm:
> [...]
>        (foreign-declare "extern void punCpp (void);\n")
> [...]

Hello David,

in this case I suggest that you change the foreign-declare statement
to

  (foreign-declare "#include \"punCpp.h\"\n")

If you ever add more prototypes to the header, you don't have to
duplicate the work and type them into additional foreign-declare
statements.

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to