Skip to content

Commit

Permalink
enable setting inner ref
Browse files Browse the repository at this point in the history
  • Loading branch information
matej-karolcik committed Jun 24, 2024
1 parent 79dea6d commit 94a67da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imageref.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,3 +364,7 @@ func (i *ImageRef) Close() {
func (i *ImageRef) SetImageRef(another *ImageRef) {
i.ref = another.ref
}

func (i *ImageRef) SetImage(im *vips.ImageRef) {
i.ref = im
}

0 comments on commit 94a67da

Please sign in to comment.