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

Method Capacity

source/script.h:2896–2896  ·  view source on GitHub ↗

Allow for a null-terminator and appending "()" for call statements.

Source from the content-addressed store, hash-verified

2894 const size_t EXPANSION_INTERVAL = 0x1000;
2895 const size_t RESERVED_SPACE = 3; // Allow for a null-terminator and appending "()" for call statements.
2896 size_t Capacity() { ASSERT(size); return size - RESERVED_SPACE; }
2897 ResultType Expand();
2898 ResultType EnsureCapacity(size_t aLength);
2899 ResultType Realloc(size_t aNewSize);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected