doc: update design

This commit is contained in:
2026-08-09 22:12:10 +08:00
parent 0c21166e53
commit 8eb24a0b71
2 changed files with 88 additions and 0 deletions
@@ -26,6 +26,19 @@ CError WFStartup(void);
#endif // __cplusplus
```
## Parameter Declarations
A declaration of an exported FFI function in the C header file generally looks like
the following:
```c++
CError FBAdd(
OMRF_IN_PARAM_TY(uint32_t, in_a),
OMRF_IN_PARAM_TY(uint32_t, in_b),
OMRF_OUT_PARAM_TY(uint32_t, out_rv),
OMRF_OUT_PARAM_TY(bool, out_overflow));
```
## Required Header Files
The generated C/C++ header files must include the appropriate header files for the