summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2012-11-30 23:27:28 -0800
committerJosh Blum2012-11-30 23:27:28 -0800
commit0dea1563a4e13bd6081acc2ed5f4c611bdfbb9af (patch)
treec2a82c50a04ad2a7b10b0244ac7aba07c46b9e3a /include
parentd7f60f70204ee416628d8f96b03aaca647c44c46 (diff)
downloadsandhi-0dea1563a4e13bd6081acc2ed5f4c611bdfbb9af.tar.gz
sandhi-0dea1563a4e13bd6081acc2ed5f4c611bdfbb9af.tar.bz2
sandhi-0dea1563a4e13bd6081acc2ed5f4c611bdfbb9af.zip
moved header ipp files to detail, like boost
Diffstat (limited to 'include')
-rw-r--r--include/gras/CMakeLists.txt11
-rw-r--r--include/gras/detail/sbuffer.hpp (renamed from include/gras/sbuffer.ipp)6
-rw-r--r--include/gras/detail/work_buffer.hpp (renamed from include/gras/work_buffer.ipp)6
-rw-r--r--include/gras/sbuffer.hpp2
-rw-r--r--include/gras/work_buffer.hpp2
5 files changed, 17 insertions, 10 deletions
diff --git a/include/gras/CMakeLists.txt b/include/gras/CMakeLists.txt
index 85c51c3..fe11faf 100644
--- a/include/gras/CMakeLists.txt
+++ b/include/gras/CMakeLists.txt
@@ -13,15 +13,22 @@ install(FILES
io_signature.hpp
io_signature.i
sbuffer.hpp
- sbuffer.ipp
sbuffer.i
tags.hpp
tags.i
thread_pool.hpp
top_block.hpp
work_buffer.hpp
- work_buffer.ipp
DESTINATION include/gras
COMPONENT ${GRAS_COMP_DEVEL}
)
+
+install(FILES
+
+ detail/sbuffer.hpp
+ detail/work_buffer.hpp
+
+ DESTINATION include/gras/detail
+ COMPONENT ${GRAS_COMP_DEVEL}
+)
diff --git a/include/gras/sbuffer.ipp b/include/gras/detail/sbuffer.hpp
index 7db390d..c3dab6b 100644
--- a/include/gras/sbuffer.ipp
+++ b/include/gras/detail/sbuffer.hpp
@@ -1,7 +1,7 @@
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
-#ifndef INCLUDED_GRAS_SBUFFER_IPP
-#define INCLUDED_GRAS_SBUFFER_IPP
+#ifndef INCLUDED_GRAS_DETAIL_SBUFFER_HPP
+#define INCLUDED_GRAS_DETAIL_SBUFFER_HPP
#include <boost/detail/atomic_count.hpp>
@@ -91,4 +91,4 @@ GRAS_FORCE_INLINE size_t SBuffer::use_count(void) const
} //namespace gras
-#endif /*INCLUDED_GRAS_SBUFFER_IPP*/
+#endif /*INCLUDED_GRAS_DETAIL_SBUFFER_HPP*/
diff --git a/include/gras/work_buffer.ipp b/include/gras/detail/work_buffer.hpp
index 0c32fe8..851bbf9 100644
--- a/include/gras/work_buffer.ipp
+++ b/include/gras/detail/work_buffer.hpp
@@ -1,7 +1,7 @@
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
-#ifndef INCLUDED_GRAS_WORK_BUFFER_IPP
-#define INCLUDED_GRAS_WORK_BUFFER_IPP
+#ifndef INCLUDED_GRAS_DETAIL_WORK_BUFFER_HPP
+#define INCLUDED_GRAS_DETAIL_WORK_BUFFER_HPP
namespace gras
{
@@ -62,4 +62,4 @@ inline size_t &WorkBufferArray<PtrType>::max(void)
} //namespace gras
-#endif /*INCLUDED_GRAS_WORK_BUFFER_IPP*/
+#endif /*INCLUDED_GRAS_DETAIL_WORK_BUFFER_HPP*/
diff --git a/include/gras/sbuffer.hpp b/include/gras/sbuffer.hpp
index 5761625..b82aff1 100644
--- a/include/gras/sbuffer.hpp
+++ b/include/gras/sbuffer.hpp
@@ -131,6 +131,6 @@ struct GRAS_API SBuffer : boost::intrusive_ptr<SBufferImpl>
} //namespace gras
-#include <gras/sbuffer.ipp>
+#include <gras/detail/sbuffer.hpp>
#endif /*INCLUDED_GRAS_SBUFFER_HPP*/
diff --git a/include/gras/work_buffer.hpp b/include/gras/work_buffer.hpp
index b6ac9b0..0900ed7 100644
--- a/include/gras/work_buffer.hpp
+++ b/include/gras/work_buffer.hpp
@@ -57,6 +57,6 @@ private:
} //namespace gras
-#include <gras/work_buffer.ipp>
+#include <gras/detail/work_buffer.hpp>
#endif /*INCLUDED_GRAS_WORK_BUFFER_HPP*/