_aaGetY

Lookup *pkey in aa. Called only from implementation of (aakey) expressions when value is mutable.

extern (C)
void*
_aaGetY
(
scope AA* paa
,
const TypeInfo_AssociativeArray ti
,
const size_t valsz
,
scope const void* pkey
)

Parameters

paa AA*

associative array opaque pointer

ti TypeInfo_AssociativeArray

TypeInfo for the associative array

valsz size_t

ignored

pkey void*

pointer to the key value

Return Value

Type: void*

if key was in the aa, a mutable pointer to the existing value. If key was not in the aa, a mutable pointer to newly inserted value which is set to all zeros

Meta