deprecated: 1.38 since: 1.0

Declaration [src]

pango_scan_string (
  const char** pos,
  GString* out

Description [src]

Scans a string into a GString buffer.

The string may either be a sequence of non-white-space characters, or a quoted string with ‘”’. Instead a quoted string, ‘"’ represents a literal quote. Leading white space outside of quotes is skipped.

Available since: 1.0

Deprecated since: 1.38

Please do not use it in newly written code.



Type: const char**

In/out string position.

The argument will be modified by the function.
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.

Type: GString

A GString into which to write the result.

The data is owned by the caller of the function.

Return value

Type: gboolean

FALSE if a parse error occurred.