projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731c0ff
)
sync: support c++
72/170372/1
author
Sangjin.Lee
<lsj119@samsung.com>
Mon, 19 Feb 2018 11:11:45 +0000
(20:11 +0900)
committer
Sangjin.Lee
<lsj119@samsung.com>
Mon, 19 Feb 2018 11:11:45 +0000
(20:11 +0900)
Change-Id: If3c38c377f87f27588a3e6b825854ff8dcd43126
src/tbm_sync.h
patch
|
blob
|
history
diff --git
a/src/tbm_sync.h
b/src/tbm_sync.h
index
013cffd
..
c391d5d
100644
(file)
--- a/
src/tbm_sync.h
+++ b/
src/tbm_sync.h
@@
-3,6
+3,10
@@
#include <tbm_bufmgr.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief Create timeline object.
* @return file descriptor for the created timeline on success, -1 otherwise
@@
-47,4
+51,8
@@
int tbm_sync_fence_wait(tbm_fd fence, int timeout);
*/
tbm_fd tbm_sync_fence_merge(const char *name, tbm_fd fence1, tbm_fd fence2);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _TBM_SYNC_H */