X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbset.h;h=f61d4b5f4a6221c7c2c3b05b3a2ad78a7dfd3f7b;hb=5b886a7358c16434d5c9f5f0d4af2f6e2e5d5c73;hp=8c9966c7ca0ee85d5270af2c018620b022cf13cd;hpb=769e5c9b42bf87531296013fac0af819af9228ee;p=idzebra-moved-to-github.git diff --git a/include/bset.h b/include/bset.h index 8c9966c..f61d4b5 100644 --- a/include/bset.h +++ b/include/bset.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: bset.h,v $ - * Revision 1.1 1994-09-26 10:17:42 adam + * Revision 1.2 1997-09-05 15:29:59 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:42 adam * Dfa-module header files. * */ #ifndef BSET_H #define BSET_H +#ifdef __cplusplus +extern "C" { +#endif + typedef unsigned short BSetWord; typedef BSetWord *BSet; @@ -41,4 +49,8 @@ unsigned hash_BSet (BSetHandle *sh, BSet src); int eq_BSet (BSetHandle *sh, BSet dst, BSet src); void pr_charBSet (BSetHandle *sh, BSet src, void (*f)(int)); +#ifdef __cplusplus +} +#endif + #endif