MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPrevious

Method getPrevious

valdi/src/valdi/snap_drawing/ImageLoading/ImageCacheItem.cpp:108–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108Valdi::Ref<ImageCacheItem> ImageCacheItem::getPrevious() const {
109 return Valdi::strongSmallRef(_previous);
110}
111
112void ImageCacheItem::insertAfter(const Valdi::Ref<ImageCacheItem>& imageCacheItem) {
113 SC_ASSERT(imageCacheItem->_previous == nullptr && imageCacheItem->_next == nullptr);

Callers 3

invalidateCachedItemsMethod · 0.80

Calls 1

strongSmallRefFunction · 0.85

Tested by

no test coverage detected