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

Method Resize

source/script_object.cpp:2807–2815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2805}
2806
2807ResultType BufferObject::Resize(size_t aNewSize)
2808{
2809 auto new_data = realloc(mData, aNewSize);
2810 if (!new_data)
2811 return FAIL;
2812 mData = new_data;
2813 mSize = aNewSize;
2814 return OK;
2815}
2816
2817
2818ResultType ClipboardAll::__New(ResultToken &aResultToken, int aID, int aFlags, ExprTokenType *aParam[], int aParamCount)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected