refactor(api): remove BOOL macro #23936

Remove redundant `BOOL` macro that does the same thing as `BOOLEAN_OBJ`.
This commit is contained in:
Famiu Haque
2023-06-06 20:18:55 +06:00
committed by GitHub
parent ca887b80a9
commit 175e5c8b96
3 changed files with 7 additions and 8 deletions

View File

@@ -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, \