From 591bcad6b05c1a835d4b721ecb143ff7ef5e7f34 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 9 Sep 2010 10:19:52 +0200 Subject: Add empty source files to allow inline function exporting --- odb/details/condition.cxx | 15 +++++++++++++++ odb/details/lock.cxx | 15 +++++++++++++++ odb/details/mutex.cxx | 15 +++++++++++++++ odb/makefile | 3 +++ 4 files changed, 48 insertions(+) create mode 100644 odb/details/condition.cxx create mode 100644 odb/details/lock.cxx create mode 100644 odb/details/mutex.cxx (limited to 'odb') 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 +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +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 +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +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 +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +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. -- cgit v1.1