projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff8278
)
[HB] Add FixedVersion cast to int
author
Behdad Esfahbod
<behdad@behdad.org>
Sun, 24 May 2009 16:30:40 +0000
(12:30 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sun, 24 May 2009 16:30:40 +0000
(12:30 -0400)
pango/opentype/hb-ot-layout-open-private.h
patch
|
blob
|
history
diff --git
a/pango/opentype/hb-ot-layout-open-private.h
b/pango/opentype/hb-ot-layout-open-private.h
index
0955c6f
..
91aacfc
100644
(file)
--- a/
pango/opentype/hb-ot-layout-open-private.h
+++ b/
pango/opentype/hb-ot-layout-open-private.h
@@
-293,6
+293,8
@@
ASSERT_SIZE (CheckSum, 4);
struct FixedVersion
{
+ inline operator uint32_t(void) const { return major << 16 + minor; }
+
SHORT major;
USHORT minor;
};