mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor(api): remove BOOL
macro #23936
Remove redundant `BOOL` macro that does the same thing as `BOOLEAN_OBJ`.
This commit is contained in:
@@ -87,7 +87,7 @@ static void api_parse_enter(mpack_parser_t *parser, mpack_node_t *node)
|
||||
*result = NIL;
|
||||
break;
|
||||
case MPACK_TOKEN_BOOLEAN:
|
||||
*result = BOOL(mpack_unpack_boolean(node->tok));
|
||||
*result = BOOLEAN_OBJ(mpack_unpack_boolean(node->tok));
|
||||
break;
|
||||
case MPACK_TOKEN_SINT:
|
||||
*result = INTEGER_OBJ(mpack_unpack_sint(node->tok));
|
||||
|
Reference in New Issue
Block a user