[svn:parrot] r45524 - branches/immutable_strings_part1/src/string

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Apr 10 14:36:57 UTC 2010


Author: bacek
Date: Sat Apr 10 14:36:57 2010
New Revision: 45524
URL: https://trac.parrot.org/parrot/changeset/45524

Log:
Add WARN_UNUSED_RESULT to str_replace.

Modified:
   branches/immutable_strings_part1/src/string/api.c

Modified: branches/immutable_strings_part1/src/string/api.c
==============================================================================
--- branches/immutable_strings_part1/src/string/api.c	Sat Apr 10 14:36:46 2010	(r45523)
+++ branches/immutable_strings_part1/src/string/api.c	Sat Apr 10 14:36:57 2010	(r45524)
@@ -1114,6 +1114,7 @@
 
 PARROT_EXPORT
 PARROT_CAN_RETURN_NULL
+PARROT_WARN_UNUSED_RESULT
 STRING *
 Parrot_str_replace(PARROT_INTERP, ARGIN(STRING *src),
     INTVAL offset, INTVAL length, ARGIN(STRING *rep))


More information about the parrot-commits mailing list