19 lines
722 B
Go
19 lines
722 B
Go
|
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
||
|
|
||
|
package handler
|
||
|
|
||
|
import (
|
||
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||
|
)
|
||
|
|
||
|
// This file contains wasmimport and wasmexport declarations for "wasmcloud:messaging@0.2.0".
|
||
|
|
||
|
//go:wasmexport wasmcloud:messaging/handler@0.2.0#handle-message
|
||
|
//export wasmcloud:messaging/handler@0.2.0#handle-message
|
||
|
func wasmexport_HandleMessage(msg0 *uint8, msg1 uint32, msg2 *uint8, msg3 uint32, msg4 uint32, msg5 *uint8, msg6 uint32) (result *cm.Result[string, struct{}, string]) {
|
||
|
msg := lift_BrokerMessage((*uint8)(msg0), (uint32)(msg1), (*uint8)(msg2), (uint32)(msg3), (uint32)(msg4), (*uint8)(msg5), (uint32)(msg6))
|
||
|
result_ := Exports.HandleMessage(msg)
|
||
|
result = &result_
|
||
|
return
|
||
|
}
|