Private to mlt_properties_s, a self-growing buffer for building strings.
More...
Private to mlt_properties_s, a self-growing buffer for building strings.
◆ indent_yaml()
static void indent_yaml |
( |
strbuf |
output, |
|
|
int |
indent |
|
) |
| |
|
inlineprivate |
Indent a line of YAML Tiny.
- Parameters
-
output | a string buffer |
indent | the number of spaces to indent |
◆ output_yaml_block_literal()
static void output_yaml_block_literal |
( |
strbuf |
output, |
|
|
const char * |
value, |
|
|
int |
indent |
|
) |
| |
|
private |
Convert a line string into a YAML block literal.
- Parameters
-
output | a string buffer |
value | the string to format as a block literal |
indent | the number of spaces to indent |
◆ strbuf_close()
static void strbuf_close |
( |
strbuf |
buffer | ) |
|
|
private |
Destroy a string buffer.
- Parameters
-
buffer | the string buffer to close |
◆ strbuf_new()
Create a new string buffer.
- Returns
- a new string buffer
◆ strbuf_printf()
static char * strbuf_printf |
( |
strbuf |
buffer, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
|
private |
Format a string into a string buffer.
A variable number of arguments follows the format string - one for each format specifier.
- Parameters
-
buffer | the string buffer to write into |
format | a string that contains text and formatting instructions |
- Returns
- the formatted string
◆ size
◆ string
The documentation for this struct was generated from the following file: