/* xgettext common functions.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002 Free Software Foundation, Inc.
Written by Peter Miller <millerp@canb.auug.org.au>
and Bruno Haible <haible@clisp.cons.org>, 2001.
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));