X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbfile.h;h=8618b770387067f1529b9ea943650a0493ae5f66;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=101a4ac592fc116bd19a922dd4ff3ccdb2248d57;hpb=de4ada45ce039553f8322e620cc047d8cf4a065e;p=idzebra-moved-to-github.git diff --git a/include/bfile.h b/include/bfile.h index 101a4ac..8618b77 100644 --- a/include/bfile.h +++ b/include/bfile.h @@ -1,10 +1,14 @@ /* - * Copyright (C) 1994-1995, Index Data I/S + * Copyright (C) 1994-1997, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: bfile.h,v $ - * Revision 1.13 1996-10-29 13:43:07 adam + * Revision 1.14 1997-09-05 15:29:58 adam + * Changed prototype for chr_map_input - added const. + * Added support for C++, headers uses extern "C" for public definitions. + * + * Revision 1.13 1996/10/29 13:43:07 adam * Added a few comments. * * Revision 1.12 1996/03/26 16:00:44 adam @@ -45,6 +49,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + #define bf_blocksize(bf) mf_blocksize(bf->mf) typedef struct BFile_struct @@ -93,4 +101,8 @@ void bf_commitExec (void); /* bf_commitClean: cleans commit files, etc */ void bf_commitClean (void); +#ifdef __cplusplus +} +#endif + #endif