summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>2019-09-26 10:30:54 (GMT)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-09-26 10:30:54 (GMT)
commitd4681e4afc7537815838a1d2c0c90754d72a8658 (patch)
treee033e9ad4d24b93454fbf5e78c1f5279cf962164
parent9605f646c676fb9f14ad5da778524394d6d9dc39 (diff)
downloadnnfw-d4681e4afc7537815838a1d2c0c90754d72a8658.zip
nnfw-d4681e4afc7537815838a1d2c0c90754d72a8658.tar.gz
nnfw-d4681e4afc7537815838a1d2c0c90754d72a8658.tar.bz2
Fix nnfw.h application build errors (#7775)
Fix build errors of applications using nnfw.h: ``` [ 15s] /usr/include/nnfw.h:162:35: error: unknown type name 'nnfw_tensorinfo' [ 15s] nnfw_tensorinfo *tensor_info); [ 15s] ^~~~~~~~~~~~~~~ [ 15s] /usr/include/nnfw.h:174:36: error: unknown type name 'nnfw_tensorinfo' [ 15s] nnfw_tensorinfo *tensor_info); [ 15s] ^~~~~~~~~~~~~~~ ``` Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--runtimes/include/nnfw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtimes/include/nnfw.h b/runtimes/include/nnfw.h
index 320b7b1..456781e 100644
--- a/runtimes/include/nnfw.h
+++ b/runtimes/include/nnfw.h
@@ -25,6 +25,7 @@ extern "C" {
#endif
typedef struct nnfw_session nnfw_session;
+typedef struct nnfw_tensorinfo nnfw_tensorinfo;
typedef enum {
NNFW_TYPE_TENSOR_FLOAT32 = 0,