X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fset.h;h=cee6618792c15a9a45c1d12da3032a8e5b16cde6;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=ed31c8f00804609f9977ce711ad5ea314a92efe0;hpb=de4ada45ce039553f8322e620cc047d8cf4a065e;p=idzebra-moved-to-github.git diff --git a/include/set.h b/include/set.h index ed31c8f..cee6618 100644 --- a/include/set.h +++ b/include/set.h @@ -1,16 +1,24 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1997, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: set.h,v $ - * Revision 1.1 1994-09-26 10:17:44 adam + * Revision 1.2 1997-09-05 15:30:05 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.1 1994/09/26 10:17:44 adam * Dfa-module header files. * */ #ifndef SET_H #define SET_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct SetElement_ { struct SetElement_ *next; int value; @@ -36,5 +44,9 @@ void pr_Set (SetType st, Set s); unsigned hash_Set (SetType st, Set s); int eq_Set (SetType s, Set s1, Set s2); +#ifdef __cplusplus +} +#endif + #endif