X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fstr.h;h=b89bd52f175b397d363b6079c14d493cfccb275d;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=38c92cb278c853e86752786f5983626da83333d0;hpb=de4ada45ce039553f8322e620cc047d8cf4a065e;p=idzebra-moved-to-github.git diff --git a/include/str.h b/include/str.h index 38c92cb..b89bd52 100644 --- a/include/str.h +++ b/include/str.h @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: str.h,v $ - * Revision 1.2 1994-10-20 17:36:06 quinn + * Revision 1.3 1997-09-05 15:30:06 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.2 1994/10/20 17:36:06 quinn * Minimal * * Revision 1.1 1994/10/20 13:46:36 quinn @@ -15,6 +19,10 @@ #ifndef STR_H #define STR_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct str_index { int size; @@ -33,4 +41,8 @@ void str_close(STRINGS st); char *str(STRINGS st, int num); char *strf(STRINGS st, int num, ...); +#ifdef __cplusplus +} +#endif + #endif