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

Method Expand

source/script_object.h:327–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325
326 bool SetInternalCapacity(index_t new_capacity);
327 bool Expand()
328 // Expands mFields by at least one field.
329 {
330 return SetInternalCapacity(mFields.Capacity() ? mFields.Capacity() * 2 : 4);
331 }
332
333protected:
334 ResultType CallAsMethod(ExprTokenType &aFunc, ResultToken &aResultToken, ExprTokenType &aThisToken, ExprTokenType *aParam[], int aParamCount);

Callers

nothing calls this directly

Calls 1

CapacityMethod · 0.45

Tested by

no test coverage detected