提交 377bfc58 编写于 作者: B Behdad Esfahbod

[GPOS] Implement MarkArray interface

上级 c18ec2b1
......@@ -228,7 +228,7 @@ ASSERT_SIZE (Anchor, 2);
struct MarkRecord
{
/* TODO */
friend struct MarkArray;
private:
USHORT klass; /* Class defined for this mark */
......@@ -240,7 +240,8 @@ ASSERT_SIZE (MarkRecord, 4);
struct MarkArray
{
/* TODO */
inline unsigned int get_class (unsigned int index) { return markRecord[index].klass; }
inline const Anchor& get_anchor (unsigned int index) { return this+markRecord[index].markAnchor; }
private:
ArrayOf<MarkRecord>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册