[Groonga-commit] groonga/grnxx [master] Enable to read header for debugging.

Back to archive index

susumu.yata null+****@clear*****
Thu Feb 7 14:58:01 JST 2013


susumu.yata	2013-02-07 14:58:01 +0900 (Thu, 07 Feb 2013)

  New Revision: 0e636b3e3837fab3027a782431b9713770f55844
  https://github.com/groonga/grnxx/commit/0e636b3e3837fab3027a782431b9713770f55844

  Log:
    Enable to read header for debugging.

  Modified files:
    lib/alpha/double_array.hpp

  Modified: lib/alpha/double_array.hpp (+8 -0)
===================================================================
--- lib/alpha/double_array.hpp    2013-01-31 14:01:36 +0900 (38b78b2)
+++ lib/alpha/double_array.hpp    2013-02-07 14:58:01 +0900 (7ead298)
@@ -619,6 +619,10 @@ class DoubleArrayImpl {
     return DoubleArrayKey::invalid_key();
   }
 
+  const DoubleArrayHeader &header() const {
+    return *header_;
+  }
+
   uint32_t block_id() const {
     return block_info_->id();
   }
@@ -753,6 +757,10 @@ class DoubleArray {
     }
   }
 
+  const DoubleArrayHeader &header() const {
+    return impl_->header();
+  }
+
   uint32_t block_id() const {
     return impl_->block_id();
   }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index