summaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-09-30 22:31:46 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-09-30 22:31:54 +0200
commita24ade0a3bdede676c4c85198ed3f1c000efaeff (patch)
tree4852712930cc37fdfe9a5f9c99fcd1cd8f4392d6 /test/test.h
parent3ba837ff863b6fcce6ebfc22f9c79eaf8d82fadb (diff)
test: added a test for C++ api compatibility
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test.h b/test/test.h
index 20807b6..c2caa6a 100644
--- a/test/test.h
+++ b/test/test.h
@@ -56,3 +56,14 @@ int test_cmd(void);
int test_ua_alloc(void);
int test_uag_find_param(void);
int test_ua_register(void);
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int test_cplusplus(void);
+
+#ifdef __cplusplus
+}
+#endif