Function

IpuzCharsetVecnew

Declaration [src]

IpuzCharsetVec*
ipuz_charset_vec_new (
  void
)

Description [src]

Allocates a new IpuzCharsetVec on the heap, initialised to a valid, empty histogram.

This exists primarily for language bindings. C callers probably want to declare one on the stack and use ipuz_charset_vec_init() instead.

Return value

Type: IpuzCharsetVec

A newly allocated IpuzCharsetVec.

The caller of the function takes ownership of the data, and is responsible for freeing it.