projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56eb5ad
)
Add hb_static_mutex_t
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 5 May 2011 04:17:43 +0000
(
00:17
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 5 May 2011 04:17:43 +0000
(
00:17
-0400)
src/hb-mutex-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-mutex-private.hh
b/src/hb-mutex-private.hh
index
a81d362
..
f87473d
100644
(file)
--- a/
src/hb-mutex-private.hh
+++ b/
src/hb-mutex-private.hh
@@
-100,6
+100,14
@@
typedef volatile int hb_mutex_t;
#endif
+struct hb_static_mutex_t : hb_mutex_t
+{
+ hb_static_mutex_t (void) {
+ hb_mutex_init (*this);
+ }
+};
+
+
HB_END_DECLS
#endif /* HB_MUTEX_PRIVATE_HH */