>From e4cb61192b756c2833d0ceb4f4bcb6c6f669e55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Mon, 6 May 2019 16:15:36 +0200 Subject: [PATCH 09/15] doc: Update po_message_t API (II) * gettext-tools/doc/gettext.texi (po_message_t API): Add po_message_msgctxt, po_message_comments, and po_message_extracted_comments documentation. --- gettext-tools/doc/gettext.texi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index dbdc1fe22..251293e37 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -5484,6 +5484,12 @@ available to the user of the library. 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. address@hidden {const char *} po_message_msgctxt (po_message_t @var{message}) +The @code{po_message_msgctxt} function returns the @code{msgctxt}, the +context of the message. Return @code{NULL} for a message not restricted +to a context. address@hidden deftypefun + @deftypefun {const char *} po_message_msgid (po_message_t @var{message}) The @code{po_message_msgid} function returns the @code{msgid} (untranslated English string) of a message. This is guaranteed to be address@hidden @@ -5507,6 +5513,16 @@ The @code{po_message_msgstr_plural} function returns the the @var{index} is out of range or for a message without plural. @end deftypefun address@hidden {const char *} po_message_comments (po_message_t @var{message}) +The @code{po_message_comments} function returns the comments of a message, +a multiline string, ending in a newline, or a address@hidden empty string. address@hidden deftypefun + address@hidden {const char *} po_message_extracted_comments (po_message_t @var{message}) +The @code{po_message_extracted_comments} function returns the extracted comments of a message, +a multiline string, ending in a newline, or a address@hidden empty string. address@hidden deftypefun + @node Binaries @chapter Producing Binary MO Files -- 2.21.0