Function

NumCosmoMathstring_ww

Declaration [src]

gchar*
ncm_string_ww (
  const gchar* msg,
  const gchar* first,
  const gchar* rest,
  guint ncols
)

Description [src]

Creates a word wrapped string.

Parameters

msg

Type: const gchar*

A string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
first

Type: const gchar*

A string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
rest

Type: const gchar*

A string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
ncols

Type: guint

Number of columns.

Return value

Type: gchar*

Word wrapped string msg.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.