off REGION.

This commit is contained in:
ykiko 2024-06-04 19:20:34 +08:00
parent 7cadf364eb
commit 1adbc0d036
2 changed files with 4 additions and 1 deletions

View File

@ -98,5 +98,6 @@ QualifierAlignment: Custom
QualifierOrder: ["constexpr", "const", "inline", "static", "type"]
SortIncludes: Never
SortUsingDeclarations: LexicographicNumeric
IncludeBlocksStyle: Merge
WhitespaceSensitiveMacros: ["PK_PROTECTED"]

View File

@ -226,6 +226,7 @@ public:
const bool enable_os;
VM(bool enable_os = true);
// clang-format off
#if PK_REGION("Python Equivalents")
Str py_str(PyVar obj); // x -> str(x)
Str py_repr(PyVar obj); // x -> repr(x)
@ -529,6 +530,7 @@ public:
vm->s_data.emplace(p->type, p);
}
#endif
// clang-format on
template <typename T>
Type _find_type_in_cxx_typeid_map() {