mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
shada: Mark ALWAYS_INLINE function as inline
This commit is contained in:
parent
ac50971f87
commit
10d9c6d813
@ -2326,7 +2326,8 @@ static inline ShaDaWriteResult shada_read_when_writing(
|
|||||||
/// @param[in] removable_bufs Buffers which are ignored
|
/// @param[in] removable_bufs Buffers which are ignored
|
||||||
///
|
///
|
||||||
/// @return ShadaEntry List of buffers to save, kSDItemBufferList entry.
|
/// @return ShadaEntry List of buffers to save, kSDItemBufferList entry.
|
||||||
static ShadaEntry shada_get_buflist(khash_t(bufset) *const removable_bufs)
|
static inline ShadaEntry shada_get_buflist(
|
||||||
|
khash_t(bufset) *const removable_bufs)
|
||||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE
|
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE
|
||||||
{
|
{
|
||||||
int max_bufs = get_shada_parameter('%');
|
int max_bufs = get_shada_parameter('%');
|
||||||
|
Loading…
Reference in New Issue
Block a user