summaryrefslogtreecommitdiffstats
path: root/libcouchbase-pr27.patch
blob: 1f131644b717ddbc7f18b9679bdb56ab81846f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From aa972430720163a8d81babdfae08b5bab5d139c3 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 12 Jul 2017 12:15:36 +0200
Subject: [PATCH] CCBC-803: make new functions public

---
 include/libcouchbase/couchbase.h | 2 ++
 src/handler.cc                   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/include/libcouchbase/couchbase.h b/include/libcouchbase/couchbase.h
index a42f9a04..35f87607 100644
--- a/include/libcouchbase/couchbase.h
+++ b/include/libcouchbase/couchbase.h
@@ -3703,6 +3703,7 @@ void lcb_histogram_print(lcb_HISTOGRAM* hg, FILE* stream);
  *
  * @return the pointer to string or NULL if context wasn't specified.
  */
+LIBCOUCHBASE_API
 const char *
 lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb);
 
@@ -3716,6 +3717,7 @@ lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb);
  *
  * @return the pointer to string or NULL if ref wasn't specified.
  */
+LIBCOUCHBASE_API
 const char *
 lcb_resp_get_error_ref(int cbtype, const lcb_RESPBASE *rb);
 
diff --git a/src/handler.cc b/src/handler.cc
index b909dea0..68ee2d16 100644
--- a/src/handler.cc
+++ b/src/handler.cc
@@ -1018,6 +1018,7 @@ lcb_resp_get_mutation_token(int cbtype, const lcb_RESPBASE *rb)
     X(UNLOCK)                                   \
 
 
+LIBCOUCHBASE_API
 const char *
 lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb)
 {
@@ -1031,6 +1032,7 @@ lcb_resp_get_error_context(int cbtype, const lcb_RESPBASE *rb)
     return NULL;
 }
 
+LIBCOUCHBASE_API
 const char *
 lcb_resp_get_error_ref(int cbtype, const lcb_RESPBASE *rb)
 {