View source code
Display the source code in rt/aaA.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function rt.aaA._aaGetX

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

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

Parameters

NameDescription
paa associative array opaque pointer
ti TypeInfo for the associative array
valsz ignored
pkey pointer to the key value
found true if the value was found

Returns

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

Authors

Martin Nowak

License

Boost License 1.0.