Ludovic Courtès wrote: > > > > Did you prepend "#define SCM_API extern"? It will fail without this. > >
When I do that ... and this is the code: ---cut--- main () { #define SCM_API extern typedef void *(*scm_t_c_hook_function) (void *hook_data, void *func_data, void *data); SCM_API void scm_c_hook_add (scm_t_c_hook *hook, scm_t_c_hook_function func, void *func_data, int appendp); SCM_API void scm_c_hook_remove (scm_t_c_hook *hook, scm_t_c_hook_function func, void *func_data); } ---cut--- I get ... # gcc -o test test.c test.c: In function 'main': test.c:9: error: expected ')' before '*' token test.c:14: error: expected ')' before '*' token -- #include <stddisclaimer.h> /* Kevin Brott <[EMAIL PROTECTED]> * Unix Systems Engineer - SA Group - Provtech * Providence Health Systems, Tigard, OR */ DISCLAIMER: This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user