Synopsis

PDX_MSGT dst_InitializeString(DST_STRING *str, size_t init_capacity)

Purpose

Initializes a dynamic string.

Description

Initializes a dynamic string with an initial capacity that is rounded up to the next power of two.

Input

str

Dynamic string to measure.

init_capacity

The initial capacity.

Return

A PDX error.