We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e06492 + 3052ed2 commit f71d42eCopy full SHA for f71d42e
src/rt/aaA.d
@@ -485,6 +485,20 @@ pure nothrow @nogc unittest
485
// API Implementation
486
//------------------------------------------------------------------------------
487
488
+/** Allocate associative array data.
489
+ * Called for `new SomeAA` expression.
490
+ * Params:
491
+ * ti = TypeInfo for the associative array
492
+ * Returns:
493
+ * A new associative array.
494
+ */
495
+extern (C) AA _aaNew(const TypeInfo_AssociativeArray ti)
496
+{
497
+ AA aa;
498
+ aa.impl = new Impl(ti);
499
+ return aa;
500
+}
501
+
502
/// Determine number of entries in associative array.
503
extern (C) size_t _aaLen(scope const AA aa) pure nothrow @nogc
504
{
0 commit comments