MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / EnsureCapacity

Method EnsureCapacity

source/script.cpp:2773–2777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2771
2772
2773ResultType Script::LineBuffer::EnsureCapacity(size_t aLength)
2774{
2775 aLength += RESERVED_SPACE;
2776 return size < aLength ? Realloc(aLength) : OK;
2777}
2778
2779ResultType Script::LineBuffer::Expand()
2780{

Callers 2

GetLineContExprMethod · 0.45
GetLineContinuationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected