MCPcopy Create free account
hub / github.com/covscript/covscript / resize_stack

Method resize_stack

include/covscript/core/core.hpp:130–138  ·  view source on GitHub ↗

Stack Resize must before any context instance start

Source from the content-addressed store, hash-verified

128
129 // Stack Resize must before any context instance start
130 void resize_stack(std::size_t size)
131 {
132 stack_size = size;
133 stack.resize(size);
134 fiber_stack.resize(child_stack_size());
135#ifdef CS_DEBUGGER
136 stack_backtrace.resize(size);
137#endif
138 }
139
140 inline std::size_t child_stack_size() const
141 {

Callers 2

covscript_argsFunction · 0.80
covscript_argsFunction · 0.80

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected