mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 08:28:34 +00:00
build/MSVC: fix "C4028: formal parameter different from declaration"
This commit is contained in:
@@ -47,7 +47,7 @@ typedef enum {
|
|||||||
/// Internal call from lua code
|
/// Internal call from lua code
|
||||||
#define LUA_INTERNAL_CALL (VIML_INTERNAL_CALL + 1)
|
#define LUA_INTERNAL_CALL (VIML_INTERNAL_CALL + 1)
|
||||||
|
|
||||||
static inline bool is_internal_call(uint64_t channel_id)
|
static inline bool is_internal_call(const uint64_t channel_id)
|
||||||
REAL_FATTR_ALWAYS_INLINE REAL_FATTR_CONST;
|
REAL_FATTR_ALWAYS_INLINE REAL_FATTR_CONST;
|
||||||
|
|
||||||
/// Check whether call is internal
|
/// Check whether call is internal
|
||||||
|
@@ -146,7 +146,7 @@ static inline bool ascii_isxdigit(int c)
|
|||||||
/// Checks if `c` is an “identifier” character
|
/// Checks if `c` is an “identifier” character
|
||||||
///
|
///
|
||||||
/// That is, whether it is alphanumeric character or underscore.
|
/// That is, whether it is alphanumeric character or underscore.
|
||||||
static inline bool ascii_isident(const int c)
|
static inline bool ascii_isident(int c)
|
||||||
{
|
{
|
||||||
return ASCII_ISALNUM(c) || c == '_';
|
return ASCII_ISALNUM(c) || c == '_';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user