[svn:parrot] r45611 - in trunk: include/parrot src/string
petdance at svn.parrot.org
petdance at svn.parrot.org
Mon Apr 12 20:37:52 UTC 2010
Author: petdance
Date: Mon Apr 12 20:37:51 2010
New Revision: 45611
URL: https://trac.parrot.org/parrot/changeset/45611
Log:
str_split actualy can return null
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 Mon Apr 12 20:23:50 2010 (r45610)
+++ trunk/include/parrot/string_funcs.h Mon Apr 12 20:37:51 2010 (r45611)
@@ -387,7 +387,7 @@
PARROT_EXPORT
PARROT_WARN_UNUSED_RESULT
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
PMC* Parrot_str_split(PARROT_INTERP,
ARGIN_NULLOK(STRING *delim),
ARGIN_NULLOK(STRING *str))
Modified: trunk/src/string/api.c
==============================================================================
--- trunk/src/string/api.c Mon Apr 12 20:23:50 2010 (r45610)
+++ trunk/src/string/api.c Mon Apr 12 20:37:51 2010 (r45611)
@@ -3442,7 +3442,7 @@
PARROT_EXPORT
PARROT_WARN_UNUSED_RESULT
-PARROT_CANNOT_RETURN_NULL
+PARROT_CAN_RETURN_NULL
PMC*
Parrot_str_split(PARROT_INTERP,
ARGIN_NULLOK(STRING *delim), ARGIN_NULLOK(STRING *str))
More information about the parrot-commits
mailing list