jokaMakeJoint

fnT jokaMakeJoint(T)(Sz[] lengths...) if (is(T == struct)) @system nothrow @trusted

Allocates a struct's slice fields in a single contiguous block and initializes them to zero. Free the entire block by freeing the first field's pointer.

fnT jokaMakeJoint(T)(MemoryContext context, Sz[] lengths...) if (is(T == struct)) @system nothrow @trusted

Allocates a struct's slice fields in a single contiguous block and initializes them to zero. Free the entire block by freeing the first field's pointer.