[svn:parrot] r46002 - in trunk: include/parrot src/string
petdance at svn.parrot.org
petdance at svn.parrot.org
Sun Apr 25 04:20:46 UTC 2010
Author: petdance
Date: Sun Apr 25 04:20:46 2010
New Revision: 46002
URL: https://trac.parrot.org/parrot/changeset/46002
Log:
fix an annotation
Modified:
trunk/include/parrot/string_funcs.h
trunk/src/string/api.c
Modified: trunk/include/parrot/string_funcs.h
==============================================================================
--- trunk/include/parrot/string_funcs.h Sun Apr 25 02:44:35 2010 (r46001)
+++ trunk/include/parrot/string_funcs.h Sun Apr 25 04:20:46 2010 (r46002)
@@ -75,9 +75,10 @@
PARROT_WARN_UNUSED_RESULT
PARROT_CAN_RETURN_NULL
STRING* Parrot_str_change_encoding(PARROT_INTERP,
- ARGIN_NULLOK(STRING *src),
+ ARGMOD_NULLOK(STRING *src),
INTVAL encoding_nr)
- __attribute__nonnull__(1);
+ __attribute__nonnull__(1)
+ FUNC_MODIFIES(*src);
PARROT_EXPORT
PARROT_CANNOT_RETURN_NULL
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Sun Apr 25 02:44:35 2010 (r46001)
+++ trunk/src/string/api.c Sun Apr 25 04:20:46 2010 (r46002)
@@ -2901,7 +2901,7 @@
PARROT_WARN_UNUSED_RESULT
PARROT_CAN_RETURN_NULL
STRING*
-Parrot_str_change_encoding(PARROT_INTERP, ARGIN_NULLOK(STRING *src),
+Parrot_str_change_encoding(PARROT_INTERP, ARGMOD_NULLOK(STRING *src),
INTVAL encoding_nr)
{
ASSERT_ARGS(Parrot_str_change_encoding)
More information about the parrot-commits
mailing list