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

Method FromArgV

source/script_object.cpp:881–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879//
880
881Array *Array::FromArgV(LPTSTR *aArgV, int aArgC)
882{
883 ExprTokenType *token = (ExprTokenType *)_alloca(aArgC * sizeof(ExprTokenType));
884 ExprTokenType **param = (ExprTokenType **)_alloca(aArgC * sizeof(ExprTokenType*));
885 for (int j = 0; j < aArgC; ++j)
886 {
887 token[j].SetValue(aArgV[j]);
888 param[j] = &token[j];
889 }
890 return Create(param, aArgC);
891}
892
893
894

Callers

nothing calls this directly

Calls 1

SetValueMethod · 0.80

Tested by

no test coverage detected