Update obj.h

This commit is contained in:
blueloveTH 2022-11-15 19:09:01 +08:00
parent bff5002b65
commit a0d52f52d1

View File

@ -78,7 +78,7 @@ const int _SIZEOF_VALUE = sizeof(_Value);
#ifdef POCKETPY_H
#define UNREACHABLE() throw std::runtime_error( "L" + std::to_string(__LINE__) + ": UNREACHABLE()! This should be a bug, please report it");
#else
#define UNREACHABLE() throw std::runtime_error( __FILE__ + ":" + std::to_string(__LINE__) + " UNREACHABLE()!");
#define UNREACHABLE() throw std::runtime_error( __FILE__ + std::string(":") + std::to_string(__LINE__) + " UNREACHABLE()!");
#endif
struct PyObject {