]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Comments.
authorBruno Haible <bruno@clisp.org>
Wed, 30 Jan 2002 13:51:09 +0000 (13:51 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 23:11:04 +0000 (01:11 +0200)
src/xgettext.h

index f8649b2c8dce90c6ba05a5920703d4b0e7f34084..6356449fa6937ba462681938eab976a230dda92a 100644 (file)
@@ -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 <millerp@canb.auug.org.au>
    and Bruno Haible <haible@clisp.cons.org>, 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));