[CAPI/New-Single] Code Clean
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 19 Sep 2019 10:16:48 +0000 (19:16 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 20 Sep 2019 01:52:49 +0000 (10:52 +0900)
commitabbfc340addc212c95e2e92ebe7111583d4c2644
tree0c030d05c8ae347307a1ec4786e676d5742d4f89
parent0639c01bfe1c8b775ef70c4cf1cae744dc0cdcf8
[CAPI/New-Single] Code Clean

For the readability and to prevent mistakes in the future,
- Apply symmetricity to lock/unlock, hide magic lock from programmers
- Apply common ops into macro

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
api/capi/src/nnstreamer-capi-single-new.c
api/capi/src/nnstreamer-capi-single.c