45 #define CheckTypeRangeUnsigned( type, lower_bound, upper_bound ) \
46 ( rep->Is##type() && (int64)rep->As##type()->value() >= lower_bound && (int64)rep->As##type()->value() <= upper_bound )
47 #define CheckTypeRange( type, lower_bound, upper_bound ) \
48 ( rep->Is##type() && rep->As##type()->value() >= lower_bound && rep->As##type()->value() <= upper_bound )
78 return (
CheckTypeRange( Int, -0x7FFFFFFFFFFFFFFFLL, 0x7FFFFFFFFFFFFFFFLL )
80 ||
CheckTypeRange( Float, -0x7FFFFFFFFFFFFFFFLL, 0x7FFFFFFFFFFFFFFFLL ) );
125 #undef CheckTypeRange
126 #undef CheckTypeRangeUnsigned
const std::string & content() const
Get the PyWString content.
#define CheckTypeRange(type, lower_bound, upper_bound)
bool IsPrintable(const PyString *str)
Checks whether string is printable.
bool DBTYPE_IsCompatible(DBTYPE type, const PyRep *rep)
const std::string & content() const
Get the PyString content.
#define CheckTypeRangeUnsigned(type, lower_bound, upper_bound)