mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +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:
@@ -20,7 +20,6 @@
|
||||
#define BOOLEAN_OBJ(b) ((Object) { \
|
||||
.type = kObjectTypeBoolean, \
|
||||
.data.boolean = b })
|
||||
#define BOOL(b) BOOLEAN_OBJ(b)
|
||||
|
||||
#define INTEGER_OBJ(i) ((Object) { \
|
||||
.type = kObjectTypeInteger, \
|
||||
|
Reference in New Issue
Block a user