_aaGetX

Lookup *pkey in aa. Called only from implementation of require

extern (C)
void*
_aaGetX
(
scope AA* paa
,
const TypeInfo_AssociativeArray ti
,
const size_t valsz
,
scope const void* pkey
,
out bool found
)

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

found bool

true if the value was found

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