summaryrefslogtreecommitdiffstats
path: root/test/tracer_b.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:44:33 +0000
commitb196c6498d22e47bb9d0da0153068ec54eac7956 (patch)
tree1a994a492581e93224a7ee6455f5d4e9d2ec8e59 /test/tracer_b.cpp
parentInitial commit. (diff)
downloadopentracing-cpp-upstream.tar.xz
opentracing-cpp-upstream.zip
Adding upstream version 1.6.0.upstream/1.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--test/tracer_b.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tracer_b.cpp b/test/tracer_b.cpp
new file mode 100644
index 0000000..457b1dd
--- /dev/null
+++ b/test/tracer_b.cpp
@@ -0,0 +1,10 @@
+#include <opentracing/dynamic_load.h>
+
+static int OpenTracingMakeTracerFactoryFct(
+ const char* /*opentracing_version*/,
+ const char* /*opentracing_abi_version*/, const void** /*error_category*/,
+ void* /*error_message*/, void** /*tracer_factory*/) {
+ return -1;
+}
+
+OPENTRACING_DECLARE_IMPL_FACTORY(OpenTracingMakeTracerFactoryFct);