From 8cc2ec0e402411d75c0bbedba0603ad0d7692121 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 21 Sep 2023 23:45:04 +0800 Subject: [PATCH] ... --- include/pocketpy/obj.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/pocketpy/obj.h b/include/pocketpy/obj.h index be627187..c8882a56 100644 --- a/include/pocketpy/obj.h +++ b/include/pocketpy/obj.h @@ -133,10 +133,6 @@ inline bool is_float(PyObject* p) noexcept { return (PK_BITS(p) & 0b11) == 0b10; inline bool is_special(PyObject* p) noexcept { return (PK_BITS(p) & 0b11) == 0b11; } inline bool is_int(PyObject* p) noexcept { return is_small_int(p) || is_heap_int(p); } -inline bool is_both_int_or_float(PyObject* a, PyObject* b) noexcept { - return is_tagged(a) && is_tagged(b); -} - inline bool is_both_float(PyObject* a, PyObject* b) noexcept { return is_float(a) && is_float(b); }