Support tpl_objet_set_user_data() by key 87/59487/3
authorSangjin Lee <lsj119@samsung.com>
Tue, 16 Feb 2016 05:00:51 +0000 (14:00 +0900)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Tue, 16 Feb 2016 08:27:48 +0000 (00:27 -0800)
commit8cc1943d352ad90bf107fd3e640860654ddfab78
tree7fea59ad5801dee7f7e66e37f33075d86612e368
parentfe9c3db486c549301a0a60e1fc9c8b49f8dbb574
Support tpl_objet_set_user_data() by key

- add utils apis for map
tpl_map support int32, int64 and pointer data type to hash key.
and tpl_object use the pointer type map, key is treated as
a normal variable. Thus, tpl_object_set/get_user_data() is
modified to use the pointer value itself as a key.

Change-Id: I0bffd9dba61aeeedcb498eaff1f8099c628aca8d
Makefile
src/tpl.h
src/tpl_internal.h
src/tpl_object.c
src/tpl_utils.h
src/tpl_utils_map.c [new file with mode: 0644]