summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/core/app-mgr/app-manager/coding_rule.txt
blob: 4598872a344a486e977342612d8b6c2d63642146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Coding rules:

1. module implementation can include the export head files of associated runtime

2. app manager only call access the module implementation through the interface API

3. module implementation can call the app manager API from following files:
   - util.c
   - message.c
   
4. platform API: To define it   
   
5. Any platform dependent implementation of app manager should be implemented in the 
   platform specific source file, such as app_mgr_zephyr.c