From: Bruno Haible Date: Wed, 30 Jan 2002 13:51:09 +0000 (+0000) Subject: Comments. X-Git-Tag: v0.11~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a3a5fb3169e3aeeefc6da968b631fee1fbb2bf;p=thirdparty%2Fgettext.git Comments. --- diff --git a/src/xgettext.h b/src/xgettext.h index f8649b2c8..6356449fa 100644 --- a/src/xgettext.h +++ b/src/xgettext.h @@ -1,5 +1,5 @@ /* xgettext common functions. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001-2002 Free Software Foundation, Inc. Written by Peter Miller and Bruno Haible , 2001. @@ -47,11 +47,15 @@ extern void xgettext_comment_add PARAMS ((const char *str)); extern const char *xgettext_comment PARAMS ((size_t n)); extern void xgettext_comment_reset PARAMS ((void)); -/* Add a message to the list of extracted messages. */ +/* Add a message to the list of extracted messages. + string must be malloc()ed string; its ownership is passed to the callee. + pos->file_name must be allocated with indefinite extent. */ extern message_ty *remember_a_message PARAMS ((message_list_ty *mlp, char *string, lex_pos_ty *pos)); /* Add an msgid_plural to a message previously returned by - remember_a_message. */ + remember_a_message. + string must be malloc()ed string; its ownership is passed to the callee. + pos->file_name must be allocated with indefinite extent. */ extern void remember_a_message_plural PARAMS ((message_ty *mp, char *string, lex_pos_ty *pos));