>From a3cbe1d481c68fda3d94c8dca9d1d18a74564795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Mon, 6 May 2019 16:05:40 +0200 Subject: [PATCH 08/15] doc: Update po_message_t API (I) * gettext-tools/doc/gettext.texi (po_message_t API): Add po_message_create documentation. --- gettext-tools/doc/gettext.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index fd99356b5..dbdc1fe22 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -5474,6 +5474,13 @@ This is a pointer type that refers to a message of a PO file, including its translation. @end deftp address@hidden {po_message_t} po_message_create (void) +Return a freshly constructed message. To finish initializing the +message, you must set the msgid and msgstr. It @emph{must} be inserted +into a file to manage its memory, as there is no @code{po_message_free} +available to the user of the library. address@hidden deftypefun + The following functions returns details of a @code{po_message_t}. Recall that the results are valid as long as the @var{file} handle is valid. -- 2.21.0