You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/09/03 12:10:34 UTC
[7/7] ignite git commit: IGNITE-1364: Renaming GG_ -> IGNITE_ (4).
IGNITE-1364: Renaming GG_ -> IGNITE_ (4).
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/356ab0bb
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/356ab0bb
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/356ab0bb
Branch: refs/heads/ignite-1364
Commit: 356ab0bb075a36a07373912d5e3856808b16a169
Parents: 664a105
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Thu Sep 3 13:11:02 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Thu Sep 3 13:11:02 2015 +0300
----------------------------------------------------------------------
.../main/cpp/core/include/gridgain/impl/portable/portable_common.h | 2 +-
.../cpp/core/include/gridgain/impl/portable/portable_writer_impl.h | 2 +-
.../src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/356ab0bb/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_common.h
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_common.h b/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_common.h
index 193340c..7477c44 100644
--- a/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_common.h
+++ b/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_common.h
@@ -36,7 +36,7 @@ namespace gridgain
const int8_t IGNITE_HDR_FULL = 103;
/** Full header length. */
- const int32_t GG_FULL_HDR_LEN = 18;
+ const int32_t IGNITE_FULL_HDR_LEN = 18;
/** Type: object. */
const int8_t IGNITE_TYPE_OBJECT = IGNITE_HDR_FULL;
http://git-wip-us.apache.org/repos/asf/ignite/blob/356ab0bb/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_writer_impl.h
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_writer_impl.h b/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_writer_impl.h
index a27fdac..96e718f 100644
--- a/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_writer_impl.h
+++ b/modules/platform/src/main/cpp/core/include/gridgain/impl/portable/portable_writer_impl.h
@@ -578,7 +578,7 @@ namespace gridgain
stream->WriteInt32(idRslvr.GetTypeId());
stream->WriteInt32(type.GetHashCode(obj));
- stream->Position(pos + 18);
+ stream->Position(pos + IGNITE_FULL_HDR_LEN);
type.Write(writer, obj);
http://git-wip-us.apache.org/repos/asf/ignite/blob/356ab0bb/modules/platform/src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp
----------------------------------------------------------------------
diff --git a/modules/platform/src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp b/modules/platform/src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp
index 5d6b845..fc72552 100644
--- a/modules/platform/src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp
+++ b/modules/platform/src/main/cpp/core/src/impl/portable/portable_reader_impl.cpp
@@ -581,7 +581,7 @@ namespace gridgain
}
}
- stream->Position(pos + 18);
+ stream->Position(pos + IGNITE_FULL_HDR_LEN);
for (int32_t curPos = stream->Position(); curPos < marker;)
{