summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@users.sourceforge.jp>2010-08-27 16:45:48 +0900
committerfrsyuki <frsyuki@users.sourceforge.jp>2010-08-27 16:45:48 +0900
commit59ba8dec4ee082e8777047e6ae72e8b6998cdc79 (patch)
treea5e1e1f322cb21509d53b8059da2bfba013e9f06 /cpp
parentc8e351b31e28042c10f7406238636c92a64a696c (diff)
downloadmsgpack-python-59ba8dec4ee082e8777047e6ae72e8b6998cdc79.tar.gz
cpp: fixes include paths
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/msgpack/object.h2
-rw-r--r--cpp/src/msgpack/object.hpp6
-rw-r--r--cpp/src/msgpack/pack.h9
-rw-r--r--cpp/src/msgpack/pack.hpp4
-rw-r--r--cpp/src/msgpack/sbuffer.hpp2
-rw-r--r--cpp/src/msgpack/type.hpp28
-rw-r--r--cpp/src/msgpack/unpack.h4
-rw-r--r--cpp/src/msgpack/unpack.hpp6
-rw-r--r--cpp/src/msgpack/vrefbuffer.h2
-rw-r--r--cpp/src/msgpack/vrefbuffer.hpp2
-rw-r--r--cpp/src/msgpack/zbuffer.h2
-rw-r--r--cpp/src/msgpack/zbuffer.hpp2
-rw-r--r--cpp/src/msgpack/zone.h2
-rw-r--r--cpp/src/msgpack/zone.hpp.erb2
14 files changed, 38 insertions, 35 deletions
diff --git a/cpp/src/msgpack/object.h b/cpp/src/msgpack/object.h
index cf0b4c1..baeeb9b 100644
--- a/cpp/src/msgpack/object.h
+++ b/cpp/src/msgpack/object.h
@@ -18,7 +18,7 @@
#ifndef MSGPACK_OBJECT_H__
#define MSGPACK_OBJECT_H__
-#include "msgpack/zone.h"
+#include "zone.h"
#include <stdio.h>
#ifdef __cplusplus
diff --git a/cpp/src/msgpack/object.hpp b/cpp/src/msgpack/object.hpp
index f80a390..96c026e 100644
--- a/cpp/src/msgpack/object.hpp
+++ b/cpp/src/msgpack/object.hpp
@@ -18,9 +18,9 @@
#ifndef MSGPACK_OBJECT_HPP__
#define MSGPACK_OBJECT_HPP__
-#include "msgpack/object.h"
-#include "msgpack/pack.hpp"
-#include "msgpack/zone.hpp"
+#include "object.h"
+#include "pack.hpp"
+#include "zone.hpp"
#include <string.h>
#include <stdexcept>
#include <typeinfo>
diff --git a/cpp/src/msgpack/pack.h b/cpp/src/msgpack/pack.h
index 1252895..9c4ce59 100644
--- a/cpp/src/msgpack/pack.h
+++ b/cpp/src/msgpack/pack.h
@@ -18,8 +18,8 @@
#ifndef MSGPACK_PACK_H__
#define MSGPACK_PACK_H__
-#include "msgpack/pack_define.h"
-#include "msgpack/object.h"
+#include "pack_define.h"
+#include "object.h"
#include <stdlib.h>
#ifdef __cplusplus
@@ -96,12 +96,15 @@ int msgpack_pack_object(msgpack_packer* pk, msgpack_object d);
#define msgpack_pack_inline_func_cint(name) \
inline int msgpack_pack ## name
+#define msgpack_pack_inline_func_cint(name) \
+ inline int msgpack_pack ## name
+
#define msgpack_pack_user msgpack_packer*
#define msgpack_pack_append_buffer(user, buf, len) \
return (*(user)->callback)((user)->data, (const char*)buf, len)
-#include "msgpack/pack_template.h"
+#include "pack_template.h"
inline void msgpack_packer_init(msgpack_packer* pk, void* data, msgpack_packer_write callback)
{
diff --git a/cpp/src/msgpack/pack.hpp b/cpp/src/msgpack/pack.hpp
index ee90690..2f7dfa0 100644
--- a/cpp/src/msgpack/pack.hpp
+++ b/cpp/src/msgpack/pack.hpp
@@ -18,7 +18,7 @@
#ifndef MSGPACK_PACK_HPP__
#define MSGPACK_PACK_HPP__
-#include "msgpack/pack_define.h"
+#include "pack_define.h"
#include <stdexcept>
#include <limits.h>
@@ -137,7 +137,7 @@ inline void pack(Stream& s, const T& v)
#define msgpack_pack_append_buffer append_buffer
-#include "msgpack/pack_template.h"
+#include "pack_template.h"
template <typename Stream>
diff --git a/cpp/src/msgpack/sbuffer.hpp b/cpp/src/msgpack/sbuffer.hpp
index e4a3f96..a9efc6d 100644
--- a/cpp/src/msgpack/sbuffer.hpp
+++ b/cpp/src/msgpack/sbuffer.hpp
@@ -18,7 +18,7 @@
#ifndef MSGPACK_SBUFFER_HPP__
#define MSGPACK_SBUFFER_HPP__
-#include "msgpack/sbuffer.h"
+#include "sbuffer.h"
#include <stdexcept>
namespace msgpack {
diff --git a/cpp/src/msgpack/type.hpp b/cpp/src/msgpack/type.hpp
index fafa674..a55c68e 100644
--- a/cpp/src/msgpack/type.hpp
+++ b/cpp/src/msgpack/type.hpp
@@ -1,15 +1,15 @@
-#include "msgpack/type/bool.hpp"
-#include "msgpack/type/float.hpp"
-#include "msgpack/type/int.hpp"
-#include "msgpack/type/list.hpp"
-#include "msgpack/type/deque.hpp"
-#include "msgpack/type/map.hpp"
-#include "msgpack/type/nil.hpp"
-#include "msgpack/type/pair.hpp"
-#include "msgpack/type/raw.hpp"
-#include "msgpack/type/set.hpp"
-#include "msgpack/type/string.hpp"
-#include "msgpack/type/vector.hpp"
-#include "msgpack/type/tuple.hpp"
-#include "msgpack/type/define.hpp"
+#include "type/bool.hpp"
+#include "type/float.hpp"
+#include "type/int.hpp"
+#include "type/list.hpp"
+#include "type/deque.hpp"
+#include "type/map.hpp"
+#include "type/nil.hpp"
+#include "type/pair.hpp"
+#include "type/raw.hpp"
+#include "type/set.hpp"
+#include "type/string.hpp"
+#include "type/vector.hpp"
+#include "type/tuple.hpp"
+#include "type/define.hpp"
diff --git a/cpp/src/msgpack/unpack.h b/cpp/src/msgpack/unpack.h
index 82698fc..bea7d92 100644
--- a/cpp/src/msgpack/unpack.h
+++ b/cpp/src/msgpack/unpack.h
@@ -18,8 +18,8 @@
#ifndef MSGPACK_UNPACKER_H__
#define MSGPACK_UNPACKER_H__
-#include "msgpack/zone.h"
-#include "msgpack/object.h"
+#include "zone.h"
+#include "object.h"
#include <string.h>
#ifdef __cplusplus
diff --git a/cpp/src/msgpack/unpack.hpp b/cpp/src/msgpack/unpack.hpp
index 7b45017..51580b6 100644
--- a/cpp/src/msgpack/unpack.hpp
+++ b/cpp/src/msgpack/unpack.hpp
@@ -18,9 +18,9 @@
#ifndef MSGPACK_UNPACK_HPP__
#define MSGPACK_UNPACK_HPP__
-#include "msgpack/unpack.h"
-#include "msgpack/object.hpp"
-#include "msgpack/zone.hpp"
+#include "unpack.h"
+#include "object.hpp"
+#include "zone.hpp"
#include <memory>
#include <stdexcept>
diff --git a/cpp/src/msgpack/vrefbuffer.h b/cpp/src/msgpack/vrefbuffer.h
index 123499d..0643927 100644
--- a/cpp/src/msgpack/vrefbuffer.h
+++ b/cpp/src/msgpack/vrefbuffer.h
@@ -18,7 +18,7 @@
#ifndef MSGPACK_VREFBUFFER_H__
#define MSGPACK_VREFBUFFER_H__
-#include "msgpack/zone.h"
+#include "zone.h"
#include <stdlib.h>
#ifndef _WIN32
diff --git a/cpp/src/msgpack/vrefbuffer.hpp b/cpp/src/msgpack/vrefbuffer.hpp
index 7e0ffb2..8233527 100644
--- a/cpp/src/msgpack/vrefbuffer.hpp
+++ b/cpp/src/msgpack/vrefbuffer.hpp
@@ -18,7 +18,7 @@
#ifndef MSGPACK_VREFBUFFER_HPP__
#define MSGPACK_VREFBUFFER_HPP__
-#include "msgpack/vrefbuffer.h"
+#include "vrefbuffer.h"
#include <stdexcept>
namespace msgpack {
diff --git a/cpp/src/msgpack/zbuffer.h b/cpp/src/msgpack/zbuffer.h
index abb9c50..efdd304 100644
--- a/cpp/src/msgpack/zbuffer.h
+++ b/cpp/src/msgpack/zbuffer.h
@@ -18,7 +18,7 @@
#ifndef MSGPACK_ZBUFFER_H__
#define MSGPACK_ZBUFFER_H__
-#include "msgpack/sysdep.h"
+#include "sysdep.h"
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
diff --git a/cpp/src/msgpack/zbuffer.hpp b/cpp/src/msgpack/zbuffer.hpp
index 278f076..08e6fd0 100644
--- a/cpp/src/msgpack/zbuffer.hpp
+++ b/cpp/src/msgpack/zbuffer.hpp
@@ -18,7 +18,7 @@
#ifndef MSGPACK_ZBUFFER_HPP__
#define MSGPACK_ZBUFFER_HPP__
-#include "msgpack/zbuffer.h"
+#include "zbuffer.h"
#include <stdexcept>
namespace msgpack {
diff --git a/cpp/src/msgpack/zone.h b/cpp/src/msgpack/zone.h
index 0e811df..d8c60b6 100644
--- a/cpp/src/msgpack/zone.h
+++ b/cpp/src/msgpack/zone.h
@@ -18,7 +18,7 @@
#ifndef MSGPACK_ZONE_H__
#define MSGPACK_ZONE_H__
-#include "msgpack/sysdep.h"
+#include "sysdep.h"
#ifdef __cplusplus
extern "C" {
diff --git a/cpp/src/msgpack/zone.hpp.erb b/cpp/src/msgpack/zone.hpp.erb
index 8e69aa4..1cef05e 100644
--- a/cpp/src/msgpack/zone.hpp.erb
+++ b/cpp/src/msgpack/zone.hpp.erb
@@ -18,7 +18,7 @@
#ifndef MSGPACK_ZONE_HPP__
#define MSGPACK_ZONE_HPP__
-#include "msgpack/zone.h"
+#include "zone.h"
#include <cstdlib>
#include <memory>
#include <vector>