libimobiledevice / libplist

A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
528 stars 304 forks source link

restore compatibility with older API after breakage by libplist-2.5.0 #261

Closed fduncanh closed 2 months ago

fduncanh commented 2 months ago

add back compatibility wrappers with previous names.

rename

 plist_new_data -> plist_new_data_u8
 plist_get_data_val -> plist_get_data_val_u8
plist_set_data_val -> plist_set_data_val_u8
plist_get_data_ptr -> plist_get_data_ptr_u8

add compatibilty wrappers with previous names where uint8_t is restored to char

nikias commented 2 months ago

Sorry guys, I reverted the change and released a 2.6.0.