| 738 | } |
| 739 | |
| 740 | WASMEDGE_CAPI_EXPORT bool |
| 741 | WasmEdge_ValueIsNullRef(const WasmEdge_Value Val) noexcept { |
| 742 | return WasmEdge::ValVariant::wrap<WasmEdge::RefVariant>( |
| 743 | to_WasmEdge_128_t<WasmEdge::uint128_t>(Val.Value)) |
| 744 | .get<WasmEdge::RefVariant>() |
| 745 | .isNull(); |
| 746 | } |
| 747 | |
| 748 | WASMEDGE_CAPI_EXPORT const WasmEdge_FunctionInstanceContext * |
| 749 | WasmEdge_ValueGetFuncRef(const WasmEdge_Value Val) noexcept { |