--- psiconv/trunk/lib/psiconv/list.h 1999/10/03 21:10:47 2 +++ psiconv/trunk/lib/psiconv/list.h 2000/12/10 15:44:40 56 @@ -26,9 +26,13 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* Always use psiconv_list, never struct psiconv_list */ /* No need to export the actual internal format */ -typedef struct psiconv_list *psiconv_list; +typedef struct psiconv_list_s *psiconv_list; /* Before using a list, call list_new. It takes the size of a single element as its argument. Always compute it with a sizeof() expression, just to be @@ -79,4 +83,8 @@ layout and the memory layout of elements is the same. */ extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif