mirror of
https://github.com/pocketpy/pocketpy
synced 2026-05-07 02:33:37 +00:00
* add some clang-format offs. * add formats. * format the world. * AllowShortIfStatementsOnASingleLine * off REGION. * Rollback vm.hpp * Disable insert.
19 lines
287 B
C++
19 lines
287 B
C++
#pragma once
|
|
|
|
#include "pocketpy/common/traits.hpp"
|
|
|
|
namespace pkpy {
|
|
|
|
struct StackMemory {
|
|
int count;
|
|
|
|
StackMemory(int count) : count(count) {}
|
|
};
|
|
|
|
template <>
|
|
constexpr inline bool is_sso_v<StackMemory> = true;
|
|
|
|
const inline int kTpStackMemoryIndex = 27;
|
|
|
|
} // namespace pkpy
|