From: Adam Dickmeiss Date: Tue, 16 Dec 2003 14:36:28 +0000 (+0000) Subject: Add C decl for cql.h X-Git-Tag: YAZ.2.0.7~2 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=79275c8b7ec33ad44f787051d0c47ca57daba8c5 Add C decl for cql.h --- diff --git a/CHANGELOG b/CHANGELOG index 2bd1351..ac1c378 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,7 +4,7 @@ MARC conversion can now generate ISO2709 output in another character set. yaz-marcdump uses this facility if you invoke it with option -O. -Added missing C decl macros for include/yaz/{soap.h,srw.h}, so that +Added missing C decl macros for include/yaz/{soap.h,srw.h,cql.h}, so that functions from there can be used from C++. --- 2.0.6 2003/12/04 diff --git a/include/yaz/cql.h b/include/yaz/cql.h index b1125e3..b9b5f4d 100644 --- a/include/yaz/cql.h +++ b/include/yaz/cql.h @@ -1,4 +1,4 @@ -/* $Id: cql.h,v 1.4 2003-05-27 09:46:26 mike Exp $ +/* $Id: cql.h,v 1.5 2003-12-16 14:36:28 adam Exp $ Copyright (C) 2002-2003 Index Data Aps @@ -12,6 +12,8 @@ See the file LICENSE. #include #include +YAZ_BEGIN_CDECL + typedef struct cql_parser *CQL_parser; /** @@ -187,5 +189,7 @@ int cql_transform_error(cql_transform_t ct, const char **addinfo); YAZ_EXPORT const char *cql_strerror(int code); +YAZ_END_CDECL + #endif /* CQL_H_INCLUDED */