aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-09 10:19:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-09 10:19:52 +0200
commit591bcad6b05c1a835d4b721ecb143ff7ef5e7f34 (patch)
tree3c94426b54241b4133d3f896e8ec2d35a57d0858
parent6d8ea17322f945f42a944e2bdefcdaadb346e190 (diff)
Add empty source files to allow inline function exporting
-rw-r--r--odb/details/condition.cxx15
-rw-r--r--odb/details/lock.cxx15
-rw-r--r--odb/details/mutex.cxx15
-rw-r--r--odb/makefile3
4 files changed, 48 insertions, 0 deletions
diff --git a/odb/details/condition.cxx b/odb/details/condition.cxx
new file mode 100644
index 0000000..1bbced9
--- /dev/null
+++ b/odb/details/condition.cxx
@@ -0,0 +1,15 @@
+// file : odb/details/condition.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/details/condition.hxx>
+
+namespace odb
+{
+ namespace details
+ {
+ // This otherwise unnecessary file is here to allow instantiation
+ // of inline functions for exporting.
+ }
+}
diff --git a/odb/details/lock.cxx b/odb/details/lock.cxx
new file mode 100644
index 0000000..229fc6c
--- /dev/null
+++ b/odb/details/lock.cxx
@@ -0,0 +1,15 @@
+// file : odb/details/lock.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/details/lock.hxx>
+
+namespace odb
+{
+ namespace details
+ {
+ // This otherwise unnecessary file is here to allow instantiation
+ // of inline functions for exporting.
+ }
+}
diff --git a/odb/details/mutex.cxx b/odb/details/mutex.cxx
new file mode 100644
index 0000000..a2e26bb
--- /dev/null
+++ b/odb/details/mutex.cxx
@@ -0,0 +1,15 @@
+// file : odb/details/mutex.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/details/mutex.hxx>
+
+namespace odb
+{
+ namespace details
+ {
+ // This otherwise unnecessary file is here to allow instantiation
+ // of inline functions for exporting.
+ }
+}
diff --git a/odb/makefile b/odb/makefile
index 6f459a6..7197d82 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -15,6 +15,9 @@ transaction.cxx
#
cxx += \
details/buffer.cxx \
+details/condition.cxx \
+details/lock.cxx \
+details/mutex.cxx \
details/shared-ptr/base.cxx
# POSIX-based implementation details.