projects
/
apps
/
home
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957740d
)
[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>
Mon, 2 Nov 2009 19:40:17 +0000
(14:40 -0500)
src/hb-ot-layout-open-private.h
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-open-private.h
b/src/hb-ot-layout-open-private.h
index
0955c6f
..
91aacfc
100644
(file)
--- a/
src/hb-ot-layout-open-private.h
+++ b/
src/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;
};