wasm-micro-runtime/test-tools/component-test/suites/01-life-cycle/test-app/01_install.c
Wenyong Huang 32242988ed
Apply clang-format for more source files (#795)
Apply clang-format for C source files in folder core/app-mgr,
core/app-framework, and test-tools.
And rename folder component_test to component-test, update
zephyr build document.

Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
2021-10-21 13:58:34 +08:00

20 lines
374 B
C

/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
#include "wasm_app.h"
void
on_init()
{
printf("Hello, I was installed.\n");
}
void
on_destroy()
{
/* real destroy work including killing timer and closing sensor is
* accomplished in wasm app library version of on_destroy() */
}