C/common: update error reporting macros
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 17 Nov 2021 08:58:02 +0000 (17:58 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 6 Dec 2021 09:56:29 +0000 (18:56 +0900)
commit65a2651a11219d35b7227cca9bf506e399e07af6
tree8cf88bc08068c3df976dc245cfcfe202302997aa
parent4c5bf4e52ebd2de05d5bc3e38bac4eefbc2b6b87
C/common: update error reporting macros

1. Error continue-report only if the op has returned a non-zero value.
2. Commonize formatting macro.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
c/src/ml-api-internal.h