projects
/
platform
/
core
/
uifw
/
libtbm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bo: use magic number for checking valid of bo
[platform/core/uifw/libtbm.git]
/
src
/
tbm_bufmgr_int.h
diff --git
a/src/tbm_bufmgr_int.h
b/src/tbm_bufmgr_int.h
index
da0997d
..
f4e6e28
100644
(file)
--- a/
src/tbm_bufmgr_int.h
+++ b/
src/tbm_bufmgr_int.h
@@
-167,6
+167,7
@@
struct list_head {
* @brief tbm_bo : buffer object of Tizen Buffer Manager
*/
struct _tbm_bo {
+ unsigned int magic; /* tbm bo magic number */
tbm_bufmgr bufmgr; /* tbm buffer manager */
int ref_cnt; /* ref count of bo */
int flags; /* TBM_BO_FLAGS :bo memory type */