|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Registers the host API as WAMR native imports under module "cdc". More...
Go to the source code of this file.
Namespaces | |
| namespace | cdc |
| namespace | cdc::plugin_manager |
Functions | |
| bool | cdc::plugin_manager::register_host_imports () |
| Register the "cdc" import namespace with WAMR. | |
| void | cdc::plugin_manager::unregister_host_imports () |
| Unregister the imports (called from PluginManager::deinit()). | |
Registers the host API as WAMR native imports under module "cdc".
Call once from PluginManager::init() after the WAMR runtime is up. WAMR looks these up by name when instantiating a plugin's module. Unresolved imports cause instantiation to fail with a clear error.
Definition in file WamrImports.h.