mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-08 20:50:16 +00:00
off REGION.
This commit is contained in:
parent
7cadf364eb
commit
1adbc0d036
@ -98,5 +98,6 @@ QualifierAlignment: Custom
|
||||
QualifierOrder: ["constexpr", "const", "inline", "static", "type"]
|
||||
SortIncludes: Never
|
||||
SortUsingDeclarations: LexicographicNumeric
|
||||
IncludeBlocksStyle: Merge
|
||||
|
||||
WhitespaceSensitiveMacros: ["PK_PROTECTED"]
|
||||
WhitespaceSensitiveMacros: ["PK_PROTECTED"]
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user