GLib.String.insert_c (original) (raw)

GLib

API Version: 2.0

Library Version: 2.85.1

Type

String

Methods

append append_c append_len append_printf append_unichar append_uri_escaped append_vprintf ascii_down ascii_up assign copy down equal erase free free_and_steal free_to_bytes hash insert insert_c insert_len insert_unichar overwrite overwrite_len prepend prepend_c prepend_len prepend_unichar printf replace set_size truncate up vprintf

Generated by gi-docgen 2024.1

Method

GLibStringinsert_c

Declaration [src]


GString*
g_string_insert_c (
  GString* string,
  gssize pos,
  gchar c
)

Description [src]

Inserts a byte into a GString, expanding it if necessary.

Parameters

pos

Type: gssize

The position to insert the byte.

c

Type: gchar

The byte to insert.

Return value

Type: GString

string.

The returned data is owned by the instance.