X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fstr.h;h=360c7b926210a623fab8b6ed56ab6d711253b31a;hb=2b33b395b50c562323ea2b0251f9b798cf5241d2;hp=38c92cb278c853e86752786f5983626da83333d0;hpb=54c25812d73fbe88953c635cca7448dc717a7c16;p=idzebra-moved-to-github.git diff --git a/include/str.h b/include/str.h index 38c92cb..360c7b9 100644 --- a/include/str.h +++ b/include/str.h @@ -1,10 +1,17 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: str.h,v $ - * Revision 1.2 1994-10-20 17:36:06 quinn + * Revision 1.4 1999-02-02 14:50:45 adam + * Updated WIN32 code specific sections. Changed header. + * + * 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 +22,10 @@ #ifndef STR_H #define STR_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct str_index { int size; @@ -33,4 +44,8 @@ void str_close(STRINGS st); char *str(STRINGS st, int num); char *strf(STRINGS st, int num, ...); +#ifdef __cplusplus +} +#endif + #endif