X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbset.h;h=f61d4b5f4a6221c7c2c3b05b3a2ad78a7dfd3f7b;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=8c9966c7ca0ee85d5270af2c018620b022cf13cd;hpb=de4ada45ce039553f8322e620cc047d8cf4a065e;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