mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRY
This commit is contained in:
@@ -2426,8 +2426,8 @@ static inline void replace_numbered_mark(WriteMergerState *const wms,
|
||||
const PossiblyFreedShadaEntry entry)
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_ALWAYS_INLINE
|
||||
{
|
||||
if (LAST_ARRAY_ENTRY(wms->numbered_marks).can_free_entry) {
|
||||
shada_free_shada_entry(&LAST_ARRAY_ENTRY(wms->numbered_marks).data);
|
||||
if (ARRAY_LAST_ENTRY(wms->numbered_marks).can_free_entry) {
|
||||
shada_free_shada_entry(&ARRAY_LAST_ENTRY(wms->numbered_marks).data);
|
||||
}
|
||||
for (size_t i = idx; i < ARRAY_SIZE(wms->numbered_marks) - 1; i++) {
|
||||
if (wms->numbered_marks[i].data.type == kSDItemGlobalMark) {
|
||||
|
Reference in New Issue
Block a user