VLC 4.0.0-dev
vlc_diffutil_callback_t Struct Reference

this struture 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 More...
 
uint32_t(* getNewSize )(const void *list)
 return the size of the new list list More...
 
bool(* isSame )(const void *listOld, uint32_t oldIndex, const void *listNew, uint32_t newIndex)
 compare 2 elements More...
 

Detailed Description

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

Examples
/builds/Eson-Jia1/vlc/include/vlc_diffutil.h.

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: