diff options
Diffstat (limited to 'src/storage/chewing_key.h')
-rw-r--r-- | src/storage/chewing_key.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h index 64f61b0..721f566 100644 --- a/src/storage/chewing_key.h +++ b/src/storage/chewing_key.h @@ -120,6 +120,10 @@ struct ChewingKeyRest m_raw_begin = 0; m_raw_end = 0; } + + guint16 length() { + return m_raw_end - m_raw_begin; + } }; }; |