From 219a87c79cb0986b0fde0660fbb65f4d01619ba8 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 12 Dec 2020 17:36:55 -0600 Subject: [PATCH] added IS_DICT() --- src/cobj.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cobj.h b/src/cobj.h index 6ab7c7f..4de0f45 100644 --- a/src/cobj.h +++ b/src/cobj.h @@ -94,6 +94,7 @@ typedef struct CObjUpval { #define IS_STRING(x) isObjType(x, COBJ_STRING) #define IS_OBJECT(x) isObjType(x, COBJ_OBJECT) +#define IS_DICT(x) isObjType(x, COBJ_DICT) #define IS_FUNCTION(x) isObjType(x, COBJ_FUNCTION) #define IS_CFUNCTION(x) isObjType(x, COBJ_CFUNCTION) #define IS_METHOD(x) isObjType(x, COBJ_METHOD)