]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Change the C# extractor to make use of mixed_string_buffer.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Nov 2018 19:20:44 +0000 (20:20 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Nov 2018 23:25:34 +0000 (00:25 +0100)
commit48b7ee20bb3eb961cc2669b5d9c0460b3e913474
treecdb2a2c281cb654dc7e8219b47cddfd6a3a837a5
parent6b3832ec8c713c702c551eb161dd8196a0f13b4b
xgettext: Change the C# extractor to make use of mixed_string_buffer.

* gettext-tools/src/x-csharp.c (struct string_buffer): Remove type.
(init_string_buffer, string_buffer_append_unicode_grow,
string_buffer_append_unicode, string_buffer_result, free_string_buffer): Remove
functions.
(comment_buffer, comment_start, comment_at_start, comment_add,
comment_line_end): Use mixed_string_buffer API.
(phase6_get): Likewise.
gettext-tools/src/x-csharp.c