Skip to content

Commit eec8086

Browse files
authored
add toDictWasm (#98)
1 parent 9780c71 commit eec8086

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cdt/link.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ func toLinkWasm(v *Link) *wasm.DictLink {
1010
}
1111
return v.wasm
1212
}
13+
14+
func toDictWasm(v *Dict) *wasm.Dict {
15+
if v == nil {
16+
return nil
17+
}
18+
return v.wasm
19+
}

0 commit comments

Comments
 (0)