16 lines
293 B
Go
16 lines
293 B
Go
|
//go:build wasi
|
||
|
|
||
|
package sdk
|
||
|
|
||
|
//go:wasm-module buildr
|
||
|
//export log_msg
|
||
|
func _log_msg(ptr, size uint32)
|
||
|
|
||
|
//go:wasm-module buildr
|
||
|
//export get_state
|
||
|
func _get_state(ptr, size uint32) (ptrSize uint64)
|
||
|
|
||
|
//go:wasm-module buildr
|
||
|
//export set_state
|
||
|
func _set_state(ptr, size uint32) (ptrSize uint64)
|