Skip to content

Commit

Permalink
add toDictWasm (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
goccy authored Oct 24, 2024
1 parent 9780c71 commit eec8086
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cdt/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ func toLinkWasm(v *Link) *wasm.DictLink {
}
return v.wasm
}

func toDictWasm(v *Dict) *wasm.Dict {
if v == nil {
return nil
}
return v.wasm
}

0 comments on commit eec8086

Please sign in to comment.