- _aaApply
int _aaApply(AA aa, size_t keysize, dg_t dg)
'apply' for associative arrays - to support foreach
- _aaApply2
int _aaApply2(AA aa, size_t keysize, dg2_t dg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- _aaBalance
void _aaBalance(AA* paa)
- _aaDel
void _aaDel(AA aa, TypeInfo keyti, ...)
Delete key entry in aa[].
If key is not in aa[], do nothing.
- _aaDelX
void _aaDelX(AA aa, TypeInfo keyti, void* pkey)
Undocumented in source. Be warned that the author may not have intended to support it.
- _aaEqual
int _aaEqual(TypeInfo_AssociativeArray ti, AA e1, AA e2)
Compare AA contents for equality.
- _aaGet
void* _aaGet(AA* aa, TypeInfo keyti, size_t valuesize, ...)
Get pointer to value in associative array indexed by key.
Add entry for key if it is not already there.
- _aaGetRvalue
void* _aaGetRvalue(AA aa, TypeInfo keyti, size_t valuesize, ...)
Get pointer to value in associative array indexed by key.
Returns null if it is not already there.
- _aaGetRvalueX
void* _aaGetRvalueX(AA aa, TypeInfo keyti, size_t valuesize, void* pkey)
Undocumented in source. Be warned that the author may not have intended to support it.
- _aaGetX
void* _aaGetX(AA* aa, TypeInfo keyti, size_t valuesize, void* pkey)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- _aaIn
void* _aaIn(AA aa, TypeInfo keyti, ...)
Determine if key is in aa.
- _aaInX
void* _aaInX(AA aa, TypeInfo keyti, void* pkey)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- _aaKeys
ArrayRet_t _aaKeys(AA aa, size_t keysize)
Produce array of N byte keys from aa.
- _aaLen
size_t _aaLen(AA aa)
Determine number of entries in associative array.
- _aaRehash
void* _aaRehash(AA* paa, TypeInfo keyti)
- _aaValues
ArrayRet_t _aaValues(AA aa, size_t keysize, size_t valuesize)
Produce array of values from aa.
- _d_assocarrayliteralT
BB* _d_assocarrayliteralT(TypeInfo_AssociativeArray ti, size_t length, ...)
Construct an associative array of type ti from
length pairs of key/value pairs.
- _d_assocarrayliteralTX
BB* _d_assocarrayliteralTX(TypeInfo_AssociativeArray ti, void[] keys, void[] values)
Undocumented in source. Be warned that the author may not have intended to support it.
- aligntsize
size_t aligntsize(size_t tsize)
Align to next pointer boundary, so that
GC won't be faced with misaligned pointers
in value.
Part of the D programming language runtime library. Implementation of associative arrays.