proxy-wasm / spec

WebAssembly for Proxies (ABI specification)
Apache License 2.0
545 stars 27 forks source link

Programming languages that do not support pointer implement the proxy-wasm ABI #47

Open Jing-ze opened 4 months ago

Jing-ze commented 4 months ago

In the ABI Spec, most functions use pointers as input parameters to get return values. How can the ABI implement in languages that do not support obtaining variable address using pointer, such as TypeScript, Python?

Jing-ze commented 4 months ago

For example: proxy_get_header_map_value

input parameter use uint8_t** return_value_data to get the return value