VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_diffutil_callback_t Struct Reference

this structure defines callback to access and compare elements from the old and the new list More...

#include <vlc_diffutil.h>

Data Fields

uint32_t(* getOldSize )(const void *list)
 return the size of the old list list
 
uint32_t(* getNewSize )(const void *list)
 return the size of the new list list
 
bool(* isSame )(const void *listOld, uint32_t oldIndex, const void *listNew, uint32_t newIndex)
 compare 2 elements
 

Detailed Description

this structure defines callback to access and compare elements from the old and the new list

Field Documentation

◆ getNewSize

uint32_t(* vlc_diffutil_callback_t::getNewSize) (const void *list)

return the size of the new list list

Referenced by vlc_diffutil_build_snake().

◆ getOldSize

uint32_t(* vlc_diffutil_callback_t::getOldSize) (const void *list)

return the size of the old list list

Referenced by vlc_diffutil_build_snake().

◆ isSame

bool(* vlc_diffutil_callback_t::isSame) (const void *listOld, uint32_t oldIndex, const void *listNew, uint32_t newIndex)

The documentation for this struct was generated from the following file: