svn_stringbuf_create_ensure

Function svn_stringbuf_create_ensure 

Source
pub unsafe extern "C" fn svn_stringbuf_create_ensure(
    minimum_size: apr_size_t,
    pool: *mut apr_pool_t,
) -> *mut svn_stringbuf_t
Expand description

Create a new, empty stringbuf with at least @a minimum_size bytes of space available in the memory block.

The allocated string buffer will be at least one byte larger than @a minimum_size to account for a final ‘\0’.

@since New in 1.6.