We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4502acf commit dcd8509Copy full SHA for dcd8509
pkg/ckb/native.cell
@@ -1,8 +1,15 @@
1
package ckb
2
3
+type ByteSlice table {
4
+ len uint32
5
+ cap uint32
6
+ offset uint32
7
+ ptr *uint8
8
+}
9
+
10
extern (
- func __slice_get_ptr(s uintptr) *uint8
- func __slice_set_len(s uintptr, size uint32)
11
+ func __slice_get_ptr(s *ByteSlice) *uint8
12
+ func __slice_set_len(s *ByteSlice, size uint32)
13
// reference from ckb_syscall_apis.h
14
func ckb_load_tx_hash(addr *uint8, len *uint64, offset uint) int
15
func ckb_load_transaction(addr *uint8, len *uint64, offset uint) int
0 commit comments