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 a local clone.

dmd.root.aav

Compiler implementation of the D programming language

http: //dlang.org

Authors:
Walter Bright, http://www.digitalmars.com

Source: root/aav.d

pure size_t dmd_aaLen(const AA* aa);
Determine number of entries in associative array.
Value* dmd_aaGet(AA** paa, Key key);
Get pointer to value in associative array indexed by key. Add entry for key if it is not already there, returning a pointer to a null Value. Create the associative array if it does not already exist.
Value dmd_aaGetRvalue(AA* aa, Key key);
Get value in associative array indexed by key. Returns NULL if it is not already there.
void dmd_aaRehash(AA** paa);
Rehash an array.