AddRef increases the ref count on each SegmentLoc in this SegmentLocs
()
| 195 | |
| 196 | // AddRef increases the ref count on each SegmentLoc in this SegmentLocs |
| 197 | func (slocs SegmentLocs) AddRef() { |
| 198 | for _, sloc := range slocs { |
| 199 | if sloc.mref != nil { |
| 200 | sloc.mref.AddRef() |
| 201 | } |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | // DecRef decreases the ref count on each SegmentLoc in this SegmentLocs |
| 206 | func (slocs SegmentLocs) DecRef() { |