projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc21972
)
Define wrbuf_vp_puts for YAZ < 4.2.6
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 28 Jul 2011 12:50:37 +0000
(14:50 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 28 Jul 2011 12:50:37 +0000
(14:50 +0200)
This function is declared for YAZ 4.2.6 and later.
src/filter_zoom.cpp
patch
|
blob
|
history
diff --git
a/src/filter_zoom.cpp
b/src/filter_zoom.cpp
index
6591a6e
..
cd233b5
100644
(file)
--- a/
src/filter_zoom.cpp
+++ b/
src/filter_zoom.cpp
@@
-1252,6
+1252,13
@@
static void sort_via_cql(WRBUF cql_sortby, const char *sru_sortkeys)
nmem_destroy(nmem);
}
+#if YAZ_VERSIONL < 0x40206
+static void wrbuf_vp_puts(const char *buf, void *client_data)
+{
+ WRBUF b = (WRBUF) client_data;
+ wrbuf_puts(b, buf);
+}
+#endif
void yf::Zoom::Frontend::handle_search(mp::Package &package)
{