[Libguestfs] [libnbd PATCH 2/6] generator/utils: add "pr_wrap_c_comment"
Laszlo Ersek
lersek at redhat.com
Thu May 11 06:21:07 UTC 2023
On 5/10/23 17:08, Eric Blake wrote:
> On Wed, May 10, 2023 at 01:48:10PM +0200, Laszlo Ersek wrote:
>> Add the "pr_wrap_c_comment" function, for wrapping C comments.
>>
>> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516
>> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
>> ---
>> generator/utils.mli | 1 +
>> generator/utils.ml | 87 ++++++++++++++++++++
>> 2 files changed, 88 insertions(+)
>>
>
>> +++ b/generator/utils.ml
>
>> +
>> + (* Format the comment into a buffer, and append a space character, for forcing
>> + * a nonspace -> space transiton at the end of the comment, provided the
>
> transition
D'oh...
>
> Otherwise, well-commented, and looks like it meets the intent.
>
> Reviewed-by: Eric Blake <eblake at redhat.com>
>
Thanks!
Laszlo
More information about the Libguestfs
mailing list