Add g_prefix_error_literal()

Because sometimes you don't want a lone "%s", and you don't
want the compiler yelling at you about format strings that
don't have any format in them.

Closes #663
This commit is contained in:
Dan Williams
2021-05-27 13:29:54 +02:00
committed by Emmanuel Fleury
parent 0c8740dc83
commit 9cb1bb0fb2
3 changed files with 30 additions and 0 deletions

View File

@@ -786,6 +786,7 @@ g_set_error_literal
g_propagate_error
g_clear_error
g_prefix_error
g_prefix_error_literal
g_propagate_prefixed_error
<SUBSECTION>
GErrorInitFunc