Commit 7755849f authored by suyanlong's avatar suyanlong

Fixed cgo extern bug

parent bd39e5e0
...@@ -3,6 +3,7 @@ package wasmlib ...@@ -3,6 +3,7 @@ package wasmlib
// #include <stdlib.h> // #include <stdlib.h>
// //
// extern int32_t test_verify(void *context, long long proof_ptr, long long validator_ptr, long long payload_ptr); // extern int32_t test_verify(void *context, long long proof_ptr, long long validator_ptr, long long payload_ptr);
import "C"
import ( import (
"unsafe" "unsafe"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment